on startup scripts

Brian Fahrlander brian at fahrlander.net
Sat May 12 08:47:23 UTC 2007

Hash: SHA1

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.

    Isn't there System->Sessions->Startup programs?

- --
 Brian Fahrländer                 Christian, Conservative, and Technomad
 Evansville, IN                              http://Fahrlander.net/brian
 ICQ: 5119262                         AOL/Yahoo/GoogleTalk: WheelDweller
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the ubuntu-users mailing list