how to put particular application on system startup in fedora 15?

How do I put particular application on system startup on my Fedora 15.

For instance if I want to start my Firefox browser on system startup how do I achieve this?

What have I done so far is, I just created a simple shell scrip and put the command of starting a Firefox browser in that and placed that shell script in /etc/init.d/ directory.

Asked By: Juned


That should be configured in your desktop environment (DE) settings. For example if you’re running Gnome, use gnome-session-properties as explained in this question on AskFedora.

For KDE this can be configured in Autostart, which looks like this:

enter image description here

The reason why the global init scripts won’t work is that these commands are run outside the scope of the GUI/DE. Similarly, you can’t run firefox from a plain tty shell without tweaks, but you can from the terminal window within your DE.

Answered By: gertvdijk

There are 2 ways you can do this. The first way is for if you are running gnome.
From the terminal type the command


and ENTER then you can add your entry there…

for example :
empathy is in /usr/bin/empathy

Or you can create a script and place it /etc/rc.local/


Make the script file executable

#chmod r+x /etc/rc.local/

And there you have it

Answered By: midnightsteel
Categories: Answers Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.