on startup scripts

Nils Kassube kassube at gmx.net
Sun May 13 10:25:27 UTC 2007


James Takac wrote:
> Tried that so far in the scripts, in my case using .gnomerc in the user
> directory to house the script. Alas it sleeps then continues to load
> gnome
>
> >from what I can tell. Currently looking into placing a script inside
> > the
>
> init.d directory but need to work how to get it to execute.

Things in /etc/init.d are meant to be started at boot time or when the 
runlevel changes. Therefore it is probably not the right place for your 
command which you want to start after login. Therefore, if the other 
suggestions in this thread don't help you, you could try the script of my 
previous post in this modified version:

#!/bin/sh
/bin/sleep 20 && /path/to/your/command &
exit 0


Nils




More information about the ubuntu-users mailing list