Here's a slight modification to the script provided by Michael Wood. This new version launches gnome-terminal through exec, this way the process of the shell script gets replaced by the process of gnome-terminal instead of laying around in the system process table waiting for gnome-terminal to end.
Here's a slight modification to the script provided by Michael Wood. This new version launches gnome-terminal through exec, this way the process of the shell script gets replaced by the process of gnome-terminal instead of laying around in the system process table waiting for gnome-terminal to end.