From d1ec791334bb9ee8057b75c5b7c4a06b8a116dbc Mon Sep 17 00:00:00 2001 From: theofficialgman <28281419+theofficialgman@users.noreply.github.com> Date: Sat, 6 Apr 2024 12:52:33 -0400 Subject: [PATCH] `terminal-run`: print supported terminal list on location failure --- etc/terminal-run | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/etc/terminal-run b/etc/terminal-run index aec69bedd4..fe4719724a 100755 --- a/etc/terminal-run +++ b/etc/terminal-run @@ -62,7 +62,10 @@ else fi if [ -z "$choice" ];then - error "Failed to locate any terminal emulators!!!" + error 'Failed to locate any terminal emulators!!!'" + +Please install one of the supported terminal emulators from this list: +$terminals" elif [ "$choice" == lxterminal ];then lxterminal -e bash -c "$commands" & @@ -97,7 +100,10 @@ elif [ "$choice" == qterminal ];then qterminal -e bash <(echo "$commands") & else - error "Failed to locate any terminal emulators!!!" + error 'Failed to locate any terminal emulators!!!'" + +Please install one of the supported terminal emulators from this list: +$terminals" fi #A terminal should now be launching and in a few seconds the pid file should appear