LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Start apps when X11 starts. (http://www.linuxquestions.org/questions/linux-newbie-8/start-apps-when-x11-starts-573114/)

almost000 07-29-2007 04:19 AM

Start apps when X11 starts.
 
I chat a lot online and want pidgin to start when I start X11. I ask casue I boot up by init 3 not 5 were I can just tell cron to do it at start up. I do it that way casue this it the gateway.

bathory 07-29-2007 09:37 AM

If you want a program to start when you start X, then you can put it in your ~/.xinitrc:
Code:

/path/to/pidgin &

lugoteehalt 07-30-2007 06:44 AM

Alternatively use Enlightenment as your window manager and use its 'remember' facility.

There is also an X session manager which you probably already have installed.

almost000 07-31-2007 04:59 PM

/home/owner/.xinitrc
 
I tryied that and it kill x11 till I remove that file. also I did not hav that file in the frist place. one think that was cool if you just add it with out the "&" it just load teh IM client. thank you. I am not sure how install Enlightenment. but thank you for tell it.

lugoteehalt 08-01-2007 06:18 AM

Quote:

Originally Posted by almost000
I tryied that and it kill x11 till I remove that file. also I did not hav that file in the frist place. one think that was cool if you just add it with out the "&" it just load teh IM client. thank you. I am not sure how install Enlightenment. but thank you for tell it.

xinitrc, could also use .xsession, is a special file. Loosely X only keeps running if the program it is executing in this file is running. So, to illustrate:
Code:

! pigin &
! pulseaudio &
! enlightenment

would do it - when you close Enlightenment X stops too. (The ! is just another way of doing exec, I think.)

Put in a window manager of your choice.

Hope helps.

almost000 09-20-2007 05:57 PM

gnome-session-properties
 
I have know Idea but that means be never the less I found a GUI in gome
thank you for your help.


I just loaded gnome-session-properties and it had a startup tab and its per user :)


All times are GMT -5. The time now is 09:37 PM.