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 -- Bob SuSE Linux 10.2, KDE 3.5.5 http://www.bhf.demon.co.uk/linux/tricks.html -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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 Best regards :o) Johnny :o) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 17 March 2007 09:38:26 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
Best regards :o)
Johnny :o)
Thanks, Johhny. That seems to have worked. -- Bob SuSE Linux 10.2, KDE 3.5.5 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Lørdag 17 marts 2007 19:18 kvad Randall R Schulz:
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.
Yet again we learn something new :o) Thank you Randall :o) Best regards :o) Johnny :o) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Bob Williams
-
Johnny Ernst Nielsen
-
Randall R Schulz