Loading Programs on Startup

Starting a program on Startup

Tutorial Level: Beginner

Loading a program when your operating system can be important for security reasons, be essential to a server or simply convenient to the average user. Whatever your needs, automatically starting a program when you load your operating system is a great tool for all users. In OpenSUSE, these programs are loaded through what are called sessions. These sessions are the same thing that load a specific desktop environment, such as Gnome or KDE, when you boot into OpenSUSE. Now that you know the background to sessions, let’s create some of our own.

Creating a Session

Creating a session of our own is actually quick simple thanks to the layout of OpenSUSE. First, find your Control Panel. Due to the fact that Gnome and KDE have their control centers in different locations, one of the best ways to load the correct control panel is hit Alt+F2 and to type control. This should narrow down the search to a handful of choices. Pick the choice labeled either Control Center or Control Panel. Once you find the proper program, hit the Run button to load the panel.

Now that the panel is loaded, we’ll give the search field a bit of use. Type into the field: sessions. Click the option labeled Sessions under the system category. Now, a new window will appear with all the sessions that run when you login to your username in OpenSUSE. Let’s create a new session to start the instant messenger, Pidgin. First, click the button labeled + Add. For this example, make the name Pidgin and the comment Instant Message Client. The command line has the option either to load a location or a command from the terminal. For the instant messenger example, type pidgin as the command and then hit the OK button. Now, the next time you login with your username for OpenSUSE, pidgin will start.

Other Options

There are also other functions that you can perform in the Session manager. The Startup Programs tab, that we were in when we created the new session above, shows all other the applications and commands that initiate when you login in OpenSUSE. Many of these are default programs and important to OpenSUSE, so be careful which sessions you remove. The Current Session tab shows all of the sessions that are currently running as you read this. This is useful when trying to find what is running behind the scenes. The Session Options has the option (surprising, I know) automatically remember what sessions are running when you logout so they can automatically load when you log back in. There is also a button to remember the current applications running for when you logout. As stated before, sessions are an important part of OpenSUSE, but be careful about removing sessions or changing the currently running sessions as it may cause problems with your system.


~ by unseenghost on 17 Jun 2008.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: