/usr/bin/x-grass74 is in grass-core 7.4.0-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 | #!/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/grass74 "$@"
else
exec x-terminal-emulator -e /bin/sh -c "/usr/bin/grass74 $@"
fi
else
if [ -n "$(tty)" ]; then
exec /usr/bin/grass74 "$@"
fi
fi
# Cannot run without a terminal
exit 255
|