[ubuntu-za] Adding an sh script to gnome menu
Corrie Strydom
corrie206 at gmail.com
Sat Mar 13 08:02:02 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.
>
> -D
>
>
>
> --
> ubuntu-za mailing list
> ubuntu-za at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-za
>
Right click panel
Add To Panel
Custom Application Launcher
Type = Application in Terminal
Name = Whatever
Command = /home/corrie/corriebackup.sh (my example)
Make sure corriebackup.sh (or your file) is executable, "chmod +x
~/corriebackup.sh"
Example :
corrie at corrielaptop:~$ ls -altr ~/corriebackup.sh
-rwxr-xr-x 1 corrie corrie 2325 2010-02-19 09:15
/home/corrie/corriebackup.sh
Corrie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-za/attachments/20100313/95ba1809/attachment.htm
More information about the ubuntu-za
mailing list