Artificial intelligent assistant

Launch a script from GUI and see the commands I'm trying to circumvent the absence of desktop shortcuts in Gnome by running the script from GUI through an explicitly launched instance of `konsole`: #!/usr/bin/sh set -x konsole --hold -e echo test When I test this in terminal, the command is printed in the window I launched the script **from** : [zorath@localhost sav]$ ./test.sh + konsole --hold -e echo test When I launch it from GUI, the '+' line is swallowed. Is there a trick to have the command printed in the new window, along with the script output?

Instead of running `echo test` in the shell started by `konsole`, start a shell with tracing turned on, and run `echo test` in _that_ :


konsole --hold -e sh -x -c 'echo test'


Depending on how `konsole` handles the argument to `-e` (I don't have `konsole` installed to test), you may have to use


konsole --hold -e "sh -x -c 'echo test'"

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 77e43f41f8a7ebc919e742ab39bdd523