on startup scripts

James Takac p3nndrag0n at gmail.com
Sun May 13 07:21:53 UTC 2007


Hi Nils

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.

James

On Saturday 12 May 2007 18:24:45 Nils Kassube wrote:
> James Takac wrote:
> > Anyone know of a way to get a sript to start upon the completion of
> > gnome loading? I can get something to start during gnomes startup but
> > that results in unwanted side effects in this instance for the prog I
> > wish to start
>
> Well, I don't know the official gnome solution to this (I use KDE not
> gnome), but you could make a script that sleeps for the startup time and
> then executes the command you want to use. You would then start the
> script automatically during the startup of gnome (like you wrote above).
> The script would look like this:
>
> #!/bin/sh
> /bin/sleep 20
> /path/to/your/command
>
>
> You will probably have to adjust the sleep value of 20 (that is the delay
> in seconds) to the startup time of gnome on your machine.
>
>
> Nils






More information about the ubuntu-users mailing list