LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Auto Start Programs for Any X (https://www.linuxquestions.org/questions/linux-software-2/auto-start-programs-for-any-x-273616/)

LinuxGeek 01-04-2005 04:46 AM

Auto Start Programs for Any X
 
I was wondering how I can automatically start applications such as evolution and amule upon logging in using gdm. I read that you could do this by using ~/.Xclients, but I have so far been unsuccessful at making it work. Also, I want this for all desktop environments, not just KDE or GNOME. Any ideas? Thanks for your time.

Crashed_Again 01-04-2005 05:28 AM

hmmm...well I run fluxbox and you can add something like:

gaim &

to your .xinitrc file in your home directory and that will make gaim start automagically when X starts. Not sure if this works with gdm though.

LinuxGeek 01-04-2005 06:34 AM

Thanks. But it doesn't. xinitrc is for startx only.

reddazz 01-04-2005 06:51 AM

I know kde has an ~/.kde/Autostart start directory that you can put in shell scripts to run when kde starts. Maybe there is an option for all desktops somewhere.

LinuxGeek 01-04-2005 07:44 AM

Thanks redazz. But I want to be able for the application to run regardless of which desktop environment he uses (KDE, Gnome, Fluxbox), etc.


All times are GMT -5. The time now is 05:50 PM.