rclshowinfo: try a number of term emulators, beginning with x-terminal-emulator, not just xterm.

This commit is contained in:
Jean-Francois Dockes 2018-11-22 18:38:32 +01:00
parent 495bd66bf5
commit a193412fa1

View File

@ -28,5 +28,12 @@ while test $# -gt 1;do
nodepath="$nodepath '$node'"
done
set -x
exec xterm -e "info -f $filename $nodepath"
for t in x-terminal-emulator gnome-terminal konsole xfce4-terminal xterm ; do
tp=`which $t`
echo "termpath $tp"
if test X"$tp" != X ; then
set -x
exec "$tp" -e "info -f $filename $nodepath"
fi
done