/usr/bin/x-grass70 is in grass-core 7.0.3-1build1.
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 | #!/bin/sh
#
# This is a wrapper to call GRASS without a running (x)terminal.
#
if [ -n "$DISPLAY" ]; then
if [ -n "$(tty)" ]; then
exec /usr/bin/grass70 "$@"
else
exec x-terminal-emulator -e /bin/sh -c "/usr/bin/grass70 $@"
fi
else
if [ -n "$(tty)" ]; then
exec /usr/bin/grass70 "$@"
fi
fi
# Cannot run without a terminal
exit 255
|