[vlc-devel] Using vlc as default player for gnome desktop

Torsten Spindler spindler at tspindler.de
Sun Dec 24 17:29:51 CET 2006

As there is no preferred application for multimedia player in the gnome
preferences, one either has to associate the preferred player manually
or use the following script. It works fine for me on Ubuntu Edgy and I
hope it works on other gnome systems as well. Probably it can be
included in the contrib directory.

Merry christmas,
# Set vlc as default player on the gnome desktop
# Tested on Ubuntu 6.10 Edgy
gconftool -t string
-s /desktop/gnome/volume_manager/autoplay_vcd_command "vlc %
gconftool -t string
-s /desktop/gnome/volume_manager/autoplay_dvd_command "vlc %
gconftool -t string -s /desktop/gnome/url-handlers/mms "vlc %s"
gconftool -t string -s /desktop/gnome/url-handlers/mmsh "vlc %s"
gconftool -t string -s /desktop/gnome/url-handlers/rtsp "vlc %s"
gconftool -t string -s /desktop/gnome/url-handlers/rtp "vlc %s"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnome-vlc-default.sh
Type: application/x-shellscript
Size: 513 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20061224/b8d7cd13/attachment.bin>

More information about the vlc-devel mailing list