Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
Firefox isn't something you can start on system startup, it's something you start after you've logged in, as part of your user session startup. – Gilles Nov 23 '12 at 23:42
up vote 5 down vote accepted

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.

share|improve this answer

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/myautostart.sh


Make the script file executable

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

And there you have it

share|improve this answer
Thanks for great inforamtion – juned Nov 23 '12 at 13:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.