/usr/share/vlc/utils/gnome-vlc-default.sh is in vlc-data 3.0.1-3build1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | #!/bin/sh
# share/applications/gnome-vlc-default.sh
# $Id$
#
# Copyright (C) 2006, VideoLAN team
# Authors: Torsten Spindler
# Jean-Paul Saman <jpsaman _at_ videolan dot org>
#
# Set vlc as default player on the gnome desktop
# Tested on Ubuntu 6.10 Edgy
#
GCONFTOOL=gconftool
if test -x /usr/bin/gconftool; then
GCONFTOOL=/usr/bin/gconftool
OPTS="-t string -s"
fi
if test -x /usr/bin/gconftool-2; then
GCONFTOOL=/usr/bin/gconftool-2
OPTS="--type string --set"
fi
$GCONFTOOL $OPTS /desktop/gnome/volume_manager/autoplay_vcd_command "vlc %m"
$GCONFTOOL $OPTS /desktop/gnome/volume_manager/autoplay_dvd_command "vlc %m"
$GCONFTOOL $OPTS /desktop/gnome/url-handlers/mms "vlc %s"
$GCONFTOOL $OPTS /desktop/gnome/url-handlers/mmsh "vlc %s"
$GCONFTOOL $OPTS /desktop/gnome/url-handlers/rtsp "vlc %s"
$GCONFTOOL $OPTS /desktop/gnome/url-handlers/rtp "vlc %s"
exit 0
|