[CoLoCo] Problems Creating Custom Panel Launcher For CLI Application
TC
telecon at infosyndicate.net
Mon Nov 3 23:13:25 GMT 2008
Try this:
gnome-terminal -X nmap --help
Darrin Goodman wrote:
> Greetings! I have a question about creating a custom application
> launcher in Ubuntu.
>
> So most of us are probably fairly well experienced with creating
> launchers in the Gnome panel that allow us to quickly launch our
> favorite and most used applications. What about when you wish to launch
> a command line application and have the terminal stay open and active,
> even after the command has executed?
>
> For instance, let's say that I am trying to launch the following command:
> $ nmap --help
>
> I've been trying to create a panel launcher that will open up
> gnome-terminal and execute the command "nmap --help". I can either get
> gnome-terminal to open and the command is not executed, or nothing at
> all will happen.
>
> gnome-terminal nmap --help
>
>
> I've looked at the following two guides on creating panel launchers:
> https://help.ubuntu.com/7.04/user-guide/C/launchers.html
> http://library.gnome.org/users/user-guide/stable/launchers-properties.html.en
>
> Also, I have tried shearn89's suggestion of creating an alternate
> gnome-terminal profile, etc.:
> http://ubuntuforums.org/showthread.php?t=540353
>
> gnome-terminal --window-with-profile=XXXXXX -e nmap --help
>
>
> So far, this has given me the best results; however, only a portion of
> the nmap help is displayed, and then the terminal is in a locked state
> (can't type or do anything to the terminal other than close it).
>
> Still searching for a valid solution. Anyone have any suggestions?
>
> Thanks for your help!
>
> - Darrin
>
More information about the Ubuntu-us-co
mailing list