Autostart a program under Gnome

Last update on March 9, 2009 08:56 AM by deri58
Published by deri58

Autostart a program under Gnome








Introduction

Under Linux you can automatically start a program through example by startup scripts in /etc/init.d but it will not allow you to run graphical applications on boot from your desktop.

Adding a new program at startup

Under Gnome, this is possible through sessions management.
For example, suppose you want Amsn to starts automatically once your desktop is loaded.

Go to System/Preferences/Session:


Then, you will see a small window (open sessions configuration). Click on "new" to add an application to start up, then put the name and the command of the application you want. Usually the command will be the same as the name of the application but this may differ from case to case.
For example adding Amsn, the command will amsn:

Confirm and reboot, amsn will launch at startup

Using the command line

You can access the configuration options of the sessions, using the following command:
gnome-session-properties &
Best answers for « Autostart a program under Gnome » in :
Programming languages Show Programming language A "programming language" is a language designed to describe a set of consecutive actions to be executed by a computer. A programming language is therefore a practical way for us (humans) to give instructions to a...
Characteristics of programming languages Show There are many programming languages, each corresponding to specific needs (formula calculus, character string processing, real-time, etc.) with each having specific characteristics and functionalities. Therefore, the choice of programming language...
Program structure Show How does a computer program work? A program's behaviour depends on the type of language used to write the program. Nonetheless, almost all programming languages are based upon the same principle: The program consists of a set of commands that the...
Automatically Launch a program at PC startup ShowAutomatically Launch a program at PC startup The problem Solutions Not touching the registry By modifying the registry Disable its launch The problem Some programs such as Mozilla Firefox, Internet Explorer or the e-mail programs...
The Add/Remove Programs icon is missing in Control Panel ShowThe Add/Remove Programs icon is missing in Control Panel When trying to add a program on your computer system, you suddenly noticed that the specific icon is missing. This can be due to Appwiz.cpl missing or damaged. This applet is...
Change the default installation folder C: \ Program Files ShowChange the default installation folder C: \ Program Files The installation of most software programs are set by default in the C: \ Program Files. Below is a means of how to change into another partition. Under Windows Vista, select...
Introduction to object-oriented programming ShowA new programming concept Extract from "Understanding Active X and OLE" by David Chappel "In the last 35 years, designers of computer hardware have gone from designing machines the size of a hangar to thin notebooks based on minuscule...
Programming languages - API ShowAPI An API (Application Programming Interface) is a set of functions allowing the programmer to access an application's services through the use of a programming language. An API provides the developer with an abstraction layer, which masks the...
BIOS ShowIntroduction to BIOS BIOS ("Basic Input/Output System" is an essential component in computers, which is used for controlling hardware. It is a small software program, part of which is loaded in ROM (read-only memory, which cannot be modified),...