/lib/GNUstep/Applications/xmms.app/xmms1 is in gworkspace-apps-wrappers 0.8.8-1.2.
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 29 30 31 32 33 34 35 | #!/bin/sh
if [ "$1" = "-GSFilePath" ] || [ "$1" = "-GSTempPath" ]; then
file="$2"
else
file="$1"
fi
if [ -z "$file" ]; then
xmms &
exit
fi
ACTION=`defaults read XMMS FileOpenAction`
if [ "$ACTION" = "XMMS FileOpenAction 'EnqueueAndPlay'" ]; then
if ! which xmms-add-play; then
echo "Cannot find xmms-add-play - will enqueue instead."
xmms -e "$file" &
else
if echo -n "$file" | egrep '.pls|.m3u'; then
# xmms-add-play does not support playlists, so enqueue instead.
xmms -e "$file" &
else
xmms-add-play "$file" &
fi
# xmms -p & # if xmms is currently not playing we need to make it play
fi
elif [ "$ACTION" = "XMMS FileOpenAction 'Enqueue'" ]; then
xmms -e "$file" &
else
xmms "$file" &
fi
|