-
Notifications
You must be signed in to change notification settings - Fork 5
Description
I have no idea if this will work on every system but on xfce it I call the terminal with the "-e" flag I get the terminal running the script.
The flag also works with "aterm", probably it would be a good idea to check with terminals are available, using "which" or some sort of bash witchcraft
The command
if [
I placed it before the line containing
"# Script version"
This word on xfce. when I double click in thunar it launches the terminal with the script running.
*UPDATE: on my machine I erased "xterm" in favor of "aterm", so the comment below won't work on my particular gentoo customization but It could be a safe bet to use "xterm" as the comment below states because i explicitly removed xterm"