Glam Prestige Journal

Bright entertainment trends with youth appeal.

In "Preferences - Preferred Applications" there is a choice of Totem and Rhythmbox (actually it was, before I've uninsulated both of them favouring DeadBeeF for audio, raw mplayer for video and VLC for occasions) and Custom. Can I add a player (VLC for example) to appear in that list, officially recognised as a player application (not just "Custom")?

1 Answer

All the applications that are listed in Preferred Applications are registered in
/usr/share/gnome-control-center/default-apps.

To add VLC to the list of media players,

  1. Create a file called vlc.xml in /usr/share/gnome-control-center/default-apps:
    Hit Alt+F2 and run the following command:

    gksu gedit /usr/share/gnome-control-center/default-apps/vlc.xml
  2. Copy and paste the following in that file:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE default-apps SYSTEM "gnome-da-list.dtd">
    <default-apps> <media-players> <media-player> <name>VLC</name> <executable>vlc</executable> <command>vlc</command> <icon-name>vlc</icon-name> <run-in-terminal>false</run-in-terminal> </media-player> </media-players>
    </default-apps>

You should now see VLC in the list of multimedia players:

alt text

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy