Windows equivalent of 'startup'
Jonas Norlander
jonorland at gmail.com
Tue Jul 7 11:46:24 UTC 2009
On Tue, Jul 7, 2009 at 12:47 PM, Thomas Olsen<tanghus at gmail.com> wrote:
> On Sunday 14 June 2009 11:10:48 Muzer wrote:
>>
>> Plonk a symlink or a shell script to it in ~/.kde/Autostart
>
> I'm trying to start GCALDaemon from ~/.kde/Autostart. It's located in
> /usr/local/bin/GCALDaemon/bin and the executable script is called standalone-
> start.sh. First I just made a symlink but the the java libraries couldn't be
> found. The I made this small script:
>
> #!/bin/sh
>
> cd /usr/local/bin/GCALDaemon/bin/
> pwd
> standalone-start.sh&
>
> but then it says:
>
> /usr/local/bin/GCALDaemon/bin
> .kde/Autostart/GCALCaemon.sh: 5: standalone-start.sh: not found
>
> The 'pwd' command is just to check that I'm in the correct dir.
> Have I forgotten something totally basic about shell scripting?
Yes you have.
To run a program you need to tell the shell where the program is if
its not in the $PATH environment variable.To run a program from
current directory either write the full path to the program or append
"./" to say it's the current directory. So in your case use the full
path "/usr/local/bin/GCALDaemon/bin/GCALDaemon" or use current
directory"./GCALDaemon".
Good luck
/ Jonas
More information about the kubuntu-users
mailing list