Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 04-08-2009, 01:51 PM   #1 (permalink)
Osiris's Avatar
 

Join Date: Jan 2005

Location: Kentucky

Posts: 32,078

Osiris is a jewel in the roughOsiris is a jewel in the roughOsiris is a jewel in the rough

Send a message via ICQ to Osiris Send a message via AIM to Osiris Send a message via MSN to Osiris Send a message via Yahoo to Osiris Send a message via Skype™ to Osiris
Default Add an application to GNOME’s Autostart

Source: Add an application to GNOME’s Autostart

When you log into GNOME are there applications that you wish would start automatically? Are you one of those that fire up your web browser or your email client as your desktop is finishing the loading process? If that’s the case you’re in luck, GNOME (and most Linux desktops) allows you to add applications to the autostart list so that when you start up your desktop those applications will start immediately.
In modern GNOME desktops (I am using 2.24.3) setting up autostart applications is much easier than it once was. In early releases you would have had to write a script to tell GNOME to launch a specific app once the desktop was loaded. Now, like nearly every aspect of the Linux desktop experience, there is “an app for that”.
To create an autostart application you need to visit the System menu in the top panel of the GNOME desktop. In that menu you will find the Preferences sub menu. Within the Preferences sub menu you will see the Personal menu which is where the Sessions tool. The Sessions tool is where you add applications for auto start.
GNOME Sessions Window

Once in the Sessions window (see the image to the left) you will want to click the Add button. When the new window opens for adding the application you won’t find a list of applications to choose from…you actually have to fill out the necessary information manually. What you have to fill out is simple:
Name: This doesn’t effect the actual startup of the application, but it does help you locate your new application in the long list of startup applications.
Command: This is the actual command the new application uses to execute. The application should be in your PATH, if not use the full path to the executable (i.e. /usr/bin/firefox instead of just firefox).
Comment: This will be the descriptive text underneath the name of the startup program.
Startup Application

As you can see (in the image to the right) the configuration is quite simple. Once you have your application configured, click the Save button and your start up application is ready to start up the next time you log in.
Faster Route
If you do not want to take the time to create a new start up application entry or you’re not sure what the commands are for the applications you want to auto start, there is an easier way.
If you click on the Options tab from the Sessions window you will notice a button labeled “Remember Currently Running Application”. What this allows you to do is to open up the application you want to autostart and click this button. When you do this an entry for that application will be automatically created in the Sessions window.
WARNING: There is a bug haunting GNOME >= 2.24.1 that doesn’t allow the “Remember Currently Running Applications” feature to work. If you are working within a GNOME earlier than 2.24.1 you shouldn’t have any problem. Anything later than 2.24.1 this will not work. The GNOME development team is aware of the problem and is working to fix it.
Final Thougths
If you are like me there are certain applications that might as well start up as soon as the desktop is loaded. And fortunately the Linux desktop allows for such features.
__________________
Osiris is offline  
Old 04-09-2009, 03:54 PM   #2 (permalink)
Logarithms's Avatar
 
Banned

Join Date: Apr 2009

Posts: 41

Logarithms is on a distinguished road

Default Re: Add an application to GNOME’s Autostart

Hmmm. That's pretty interesting stuff.
Logarithms is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
My Hjt Log File! yoshi1476 HijackThis Logs (finished) 5 09-05-2008 08:06 AM
Linux Application Checker Osiris Linux Tips and Tricks 0 08-08-2008 08:01 AM
Need steps for getting rid of SystemDefender.exe Trotter Virus - Spyware Protection / Detection 16 04-07-2008 06:57 PM