[ubuntu-za] Adding an sh script to gnome menu
wesley.werner at gmail.com
Sat Mar 13 10:22:40 GMT 2010
On Sat, Mar 13, 2010 at 9:19 AM, David Robert Lewis (ethnopunk) <
ethnopunk at telkomsa.net> wrote:
> Adrianna Pinska wrote:
> > Is the file executable? If it is, you don't need sh. Either way, you
> > don't need gnome-terminal. Just select "application in terminal" from
> > the drop-down menu in the launcher dialog.
> I put the application in opt, and chmod +x so it should execute. What
> else am I not doing? I've selected "application in terminal". It runs if
> I use app-runner.
I just created a test sh script, chmod +x and added a "Application in
Terminal" menu item, and it runs ok. Something else is stopping your script
from running. Any error-dialogs popping up, or no messages?
Open a terminal, menu Edit -> profile preferences, on the Title and Command
tab, select the option to hold the terminal open when the command exits,
that way you can see any errors if they're script related.
Also use the "sleep x" command to pause a script, for debugging problems, x
the number of seconds to sleep.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ubuntu-za