Saturday, June 18, 2011

Autostartup applications in linux

How To Autostartup applications in Linux

Run System Preferences

Open the Sessions Preferences window by selecting System → Preferences → Sessions from the menu, or simply run gnome-session-properties from the command line or the Run Application window.

It lists programs that Gnome currently run whenever a session is started.

Add startup program

To add a program to the list, click the Add button

Fill up program details

Fill up details about the program you wish to run.

If you don't know the full path of the program, use the program which at the command line. Here's an example to get the full path for Mozilla Firefox
which firefox

/usr/bin/firefox

Confirm

Once you’re done, click the Add button, and you can later see that Firefox is now listed in the Sessions Preferences window as the following;

Done

With that the program should automatically run whenever you login to your Gnome session. To temporarily disable it, just un-check the checkbox of the program, and use the Remove button to completely remove our program from the list.

No comments:

Post a Comment