LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-14-2004, 04:52 PM   #1
ElPuello
Member
 
Registered: Apr 2004
Location: Copenhagen, Denmark
Distribution: Gentoo + Debian PPC
Posts: 44

Rep: Reputation: 15
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
 
Old 04-14-2004, 06:45 PM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
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.
 
Old 04-15-2004, 05:37 AM   #3
ElPuello
Member
 
Registered: Apr 2004
Location: Copenhagen, Denmark
Distribution: Gentoo + Debian PPC
Posts: 44

Original Poster
Rep: Reputation: 15
I log in using the graphical interface. Should I proceed like you stated in your post??

 
Old 04-15-2004, 07:15 PM   #4
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
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).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic Start mohtasham1983 Linux - Newbie 2 05-14-2005 05:02 PM
Automatic log in and starting programs at boot Spy47 Linux - Newbie 3 11-18-2004 05:17 PM
Trouble with the automatic updates (duplicate versions of various programs) Luythen Red Hat 1 10-05-2004 06:38 AM
Automatic Start of XTerm secprovider Linux - Newbie 1 03-30-2004 03:00 AM
Automatic start of program VincentB Linux - Newbie 1 07-03-2003 03:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration