LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Automatic start of programs? (https://www.linuxquestions.org/questions/linux-software-2/automatic-start-of-programs-170187/)

ElPuello 04-14-2004 04:52 PM

Automatic start of programs?
 
Hi,

Im using debian dist. and gnome. I want to gaim to start up when i log in, but how? Can someone please help me with this?

Regards

Thymox 04-14-2004 06:45 PM

Do you boot into a graphical login, or do you login at a text prompt and have to type startx to get into the GUI?

If it is the latter (text login), then you should edit a file in your home directory called .xinitrc (yes, the dot is important). This is a script that is run (sort-of) when you type startx and instructs your computer to run your applications, including your Window Manager or Desktop Environment. An example would be like this:
Code:

# xinitrc file
# runs when I load X
exec gaim&
exec startgnome

Note the & symbol after gaim, and more equally as important, notice that there isn't an & symbol after startgnome.

Hope this helps.

ElPuello 04-15-2004 05:37 AM

I log in using the graphical interface. Should I proceed like you stated in your post??

:newbie:

Thymox 04-15-2004 07:15 PM

The process for loginging from a GUI interface is slightly different, but only slightly. You should try using the file .xsession first (again, in your home directory). The format of the file should be the same as the .xinitrc file above. Please note, however, that some login managers do not support .xsession files, and will therefore ignore them (mdkkdm springs to mind, but that shouldn't affect debian users as it is a Mandrake adaptation of kdm).


All times are GMT -5. The time now is 11:07 PM.