I would like to run a script from the GUI. For example a simple
echo "hello" from the right click context menu. In my case I would set up an action in
thunar like this:
Then it appears in the context menu and it executes. But I never get to see the output. If the script requires input like for example a password, the window quickly does it's job and then disappears.. Of course this is nonsensical example. But I would like to use it for sending files, scanning for malware etc.
In what kind of way would I have to start the script to get a terminal window with output that stays open to see the result?