-   Linux - Newbie (
-   -   AutoRun Program in XWindows (

zael 02-08-2004 07:58 PM

AutoRun Program in XWindows
Is there a way to autorun a program once Xwindows starts?

megaspaz 02-08-2004 08:14 PM

i don't think so, not in the global sense. i mean you can have programs autostart when logging into your account. like for KDE, just put a link inside ~/.kde/Autostart and in gnome there's Gnome's Foot button (like start button) > Programs > Settings > Sessions > Session Properties & Start up Programs.

contrasutra 02-08-2004 08:58 PM

Yes, there is. That's your XINITRC file.

It's usually located in ~/.xinitrc or /etc/X11/xinit/xinitrc.

This file contains your Window Manager executable name, and it can also include any other X program. Be sure to include an & after the previous program, such as:

startkde &

zael 02-09-2004 06:49 AM

Restart X Windows Program
If i have a program AutoStart once XWindows loads is there a way to have the program run again if it is killed?

All times are GMT -5. The time now is 10:47 AM.