mirror of
https://github.com/videolan/vlc.git
synced 2024-12-13 11:44:18 +08:00
Script to set vlc as default player on GNOME desktops. Patch by Torsten Spindler <spindler _at_ tspindler _dot_ de>
This commit is contained in:
parent
43bff21b9c
commit
0eecb210eb
@ -254,6 +254,7 @@ DIST_osdmenu_dvd = \
|
||||
|
||||
DIST_applications = \
|
||||
applications/vlc.desktop \
|
||||
applications/gnome-vlc-default.sh \
|
||||
$(NULL)
|
||||
|
||||
skins2/default.vlt:
|
||||
|
10
share/applications/gnome-vlc-default.sh
Normal file
10
share/applications/gnome-vlc-default.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/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"
|
||||
|
Loading…
Reference in New Issue
Block a user