how to setup up start up programs

Magnus Therning magnus at
Thu Jun 30 20:35:57 UTC 2005

Just though I'd comment on this, since it won't actually do what Mustafa
asked for. It is however a really good explanation on how to _start a
program on boot_.


On Thu, Jun 30, 2005 at 07:46:04PM +0100, Graham wrote:
>On Thursday 30 Jun 2005 18:58, Mustafa Abbasi wrote:
>> i wanted to setup azureus and firefox to start whenever i start
>> gnome. like startup in windows.
>> any idea how to do this in ubuntu.
>> it can be done in fedora's gnome but i can't figure out how to do it
>> in ubuntu
>I think I can help :-) You need to set up a local file as in other Linux 
>distributions, but this is not usually present in Debian installations.  
>The actual web page to do this is at:
>but I note that the page is down at the moment, so here is a copy of the 
>text from my archives:
>"Debian Rc.local Equivalent
>In many distributions you can add commands to run certain programs at 
>the end of the boot process after all system services have been started 
>into the /etc/rc.d/rc.local file, however there is no such file in a 
>Debian system.  Here is the way to accomplish the same thing the debian 
> 1)  Make a file called /etc/init.d/local with a text editor. This file 
>is a script so it should always start with the following line:
> #! /bin/sh
> 2)  Next, for example I have an always on cable modem and I want to use 
>rdate to update the system time to atomic clock time at startup, so I 
>add the following command to the file:
> rdate -s && hwclock --systohc
> (The rdate command updates your system time, then the hwclock command 
>updates the bios clock)
> 3)  Make this file executable with:
> chmod +x /etc/init.d/local
> 4)  Next, link the new local file by running:
> update-rc.d local defaults 80"
>(omitting the quotes)
>Disclaimer: I have not used this with Ubuntu or Kubuntu (yet) so use 
>with care, but it works well with Libranet!

>ubuntu-users mailing list
>ubuntu-users at

Magnus Therning                    (OpenPGP: 0xAB4DFBA4)
magnus at

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

Hard work may not kill me, but why take the chance.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the ubuntu-users mailing list