LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   starting X apps (https://www.linuxquestions.org/questions/linux-general-1/starting-x-apps-13609/)

Syncrm 02-05-2002 12:45 PM

starting X apps
 
hello all. i have a small problem, and hopefully can find a quick solution. i'm running windowmaker, which doesn't start the xscreensaver daemon at load. i'd like to start the daemon (as well as add localhost to my xhost list). does anyone know if there's a file or startup script similar to how rc.local functions for the entire system, but specifically for x? i just need a way to start xscreensaver when X loads.

thanx! :-)

acid_kewpie 02-05-2002 12:59 PM

i don't actually know if there's a proper recourse for setting it, but you should be able to add it to /etc/X11/xinitrc or similar

ryanstrayer 02-05-2002 02:53 PM

Yep - use .xinitrc ... put your commands in as follows

exec command 1 &
exec command 2 &
exec command 3 &
exec wmaker

This will load startup apps prior to WindowMaker, and kill them when you exit. At least that's what I do... works great for me.

Syncrm 02-06-2002 03:31 PM

thanx guys, i figured out that it wasn't working because i was execuing the commands post execution of wmaker.

:-)


All times are GMT -5. The time now is 06:57 PM.