/usr/bin/xfterm4 is in xfce4-utils 4.8.3-1ubuntu2.
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 36 37 | #!/bin/sh
if [ "$1" = "-e" ]; then
shift
fi
if [ -d "$*" ]; then
cd "$*"
elif [ -f "$*" -a ! -x "$*" ]; then
ESTRING="`which less`"
MSTRING="$*"
elif [ "`echo $* | grep "http:/"`" -o "`echo $* | grep "ftp:"`" -a ! -x "$*" ]; then
# This requires lynx or links. If you don't have it, don't drop URLs.
if which lynx >/dev/null 2>&1; then
ESTRING="`which lynx`"
elif which links >/dev/null 2>&1; then
ESTRING="`which links`"
fi
MSTRING="$*"
else
if which pauseme >/dev/null 2>&1; then
ESTRING="`which pauseme`"
MSTRING="$*"
else
ESTRING="$@"
fi
fi
if [ x"$ESTRING" = x"" ]; then
exec exo-open --launch TerminalEmulator
elif [ x"$MSTRING" = x"" ]; then
exec exo-open --launch TerminalEmulator $EXEC"$ESTRING"
else
exec exo-open --launch TerminalEmulator $EXEC"$ESTRING" "$MSTRING"
fi
exit 0
|