On Saturday 17 March 2007 02:38, Johnny Ernst Nielsen wrote:
> Greetings Bob.
>
> Lørdag 17 marts 2007 09:37 kvad Bob Williams:
> > I have a shell script which I would like to run each time I login.
> > I'm not sure what I should put in ~/.kde/Autostart
>
> I assume a bash script.
>
> Try to put the bare script in there.
> Make sure it is executable, and that the first line in the script
> reads:
> #!/bin/bash

It's a good idea to include "--norc" on the shebang line:

#!/bin/bash --norc

This prevents reading the invoking user's $HOME/.bashrc file, whose 
contents are unknown and could interfere with proper operation of the 
script. It also cuts down on shell start-up overhead.


> Best regards :o)
>
> Johnny :o)


Randall Schulz
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to