Commit 0eecb210 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Script to set vlc as default player on GNOME desktops. Patch by Torsten...

Script to set vlc as default player on GNOME desktops. Patch by Torsten Spindler <spindler _at_ tspindler _dot_ de>
parent 43bff21b
...@@ -254,6 +254,7 @@ DIST_osdmenu_dvd = \ ...@@ -254,6 +254,7 @@ DIST_osdmenu_dvd = \
DIST_applications = \ DIST_applications = \
applications/vlc.desktop \ applications/vlc.desktop \
applications/gnome-vlc-default.sh \
$(NULL) $(NULL)
skins2/default.vlt: skins2/default.vlt:
......
#!/bin/sh
# 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 %m"
gconftool -t string -s /desktop/gnome/volume_manager/autoplay_dvd_command "vlc %m"
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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment