shemhamforash
July 18th, 2009, 10:41 AM
Heya all,
I've added a new item to the main gnome menu. I choose for the type "Application in Terminal", and as command let's say running the command "nmap".
What I want to achieve is that when i click on the link, a new instance of gnome-terminal opens, and "nmap" is executed. Just with no arguments yet, so that I get to see all the available options. I have ~100 programs that I want to add to this menu, all just running with the "--help" parameter or the like, and opening the gnome-terminal in the right working directory. Just like in backtrack for example.
The problem:
The new instance of gnome-terminal does open successfully, but closes immediately. I can set the option in gnome-terminal to keep the terminal open after a program exits, but then I'm stuck with a inactive terminal (program exited, and the prompt doesn't return). Is there an option to keep the gnome-terminal session active?
I looked for answers for a long time, and posting here is the last thing there's left for me..
I've added a new item to the main gnome menu. I choose for the type "Application in Terminal", and as command let's say running the command "nmap".
What I want to achieve is that when i click on the link, a new instance of gnome-terminal opens, and "nmap" is executed. Just with no arguments yet, so that I get to see all the available options. I have ~100 programs that I want to add to this menu, all just running with the "--help" parameter or the like, and opening the gnome-terminal in the right working directory. Just like in backtrack for example.
The problem:
The new instance of gnome-terminal does open successfully, but closes immediately. I can set the option in gnome-terminal to keep the terminal open after a program exits, but then I'm stuck with a inactive terminal (program exited, and the prompt doesn't return). Is there an option to keep the gnome-terminal session active?
I looked for answers for a long time, and posting here is the last thing there's left for me..