/usr/share/GNUstep/iceweasel.app/iceweasel is in gworkspace-apps-wrappers 0.9.3-1.
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 38 39 40 41 | #!/bin/sh
# Usage: iceweasel [ -GSFilePath file ]
# simple GNUstep launch script for iceweasel navigator
#
# -- ICEWEASEL should be the name you use to launch navigator from
# -- the command line
ICEWEASEL=/usr/bin/iceweasel
# -- ICEWEASEL_NAME is the (beginning of the) name which is shown
# -- under ps or top.
ICEWEASEL_NAME=iceweasel-bin
#
#--FUNCTIONS
#
usage()
{
echo Usage: `basename $0` '[ -GSFilePath file ]'
exit 2
}
#-- MAIN
#
# -- establish name of file to be opened
#
if [ $# -eq 2 ] ; then
if [ "$1" = "-GSFilePath" ] ; then
file="$2"
else
usage
fi
elif [ $# -eq 0 ] ; then
file=
else
usage
fi
# -- check if iceweasel is running
# -- is running
ps -a | grep $ICEWEASEL_NAME
if [ $? -eq 0 ] ; then
test -z "$file" || $ICEWEASEL -noraise -remote "openURL(file:${file},new-window)"
else
$ICEWEASEL $file &
fi
|