Hi Do You have "#!/bin/bash" line at the first line? Jaska. On Sunday 20 October 2002 23:19, steve wrote:
On Sunday 20 October 2002 21:42, Ole Kofoed Hansen wrote:
On Sun, 20 Oct 2002, steve wrote:
Hi. I run a program by launching a script: ./runLime.sh Fine. But I want a one click icon.
If I right click>create new>link to application>execute>/path/to/the/script/./runLime.sh and click the new icon, it doesn't work. 'sh runLime.sh' and "sh runLime.sh" fail too. SuSE 8.0, Kde 304. What am I doing wrong? Thanks, Steve.
Have you tried /path/to/the/script/runLime.sh (ie. without the . dir)?
Yes. It doesn't work either.
What are the permissions of runLime.sh?
-rwxrwxr-x 1 clara users 441 Oct 18 16:06 runLime.sh
In which directory is runLime.sh?
It's in my home directory: /home/clara/LimeWire
Have you tried adding this directory to
your path, if it is not already in it?
echo $PATH /home/clara/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt /gnome/bin:/opt/kde3/bin:/opt/kde2/bin:/usr/lib/java/bin:/opt/gnome/bin No, it's not in the path but if I specify the full route it shouldn't need to be no? Do you think that this is the problem? If not, how do I change the path?
Any Ideas? Thanks for your patience, Steve.