use known working terminal before trying x-terminal-emulator (#640)
This commit is contained in:
parent
1b3a6a514f
commit
a5146daaab
|
@ -62,7 +62,7 @@ else
|
|||
fi
|
||||
|
||||
# select terminal (prefer $TERMINAL for overrides and testing, then xterm for best compatibility, then known supported terminals)
|
||||
for terminal in "$TERMINAL" xterm x-terminal-emulator kitty terminator xfce4-terminal gnome-terminal konsole terminal termite; do
|
||||
for terminal in "$TERMINAL" xterm gnome-terminal kitty terminator xfce4-terminal konsole terminal termite x-terminal-emulator; do
|
||||
if $COMMAND "$terminal" 2>/dev/null; then
|
||||
# Find the true shell behind x-terminal-emulator
|
||||
if [ "$(basename "$(readlink -f $(which "$terminal"))")" != "x-terminal-emulator" ]; then
|
||||
|
|
Loading…
Reference in New Issue