Click to See Complete Forum and Search --> : Starting Xscreensaver Automatically


linux12414
02-02-2003, 08:09 PM
Here's what I did:

I found out from posting here the lines I had to add to the file to get this to work. Did that, and still, no screensaver, but after searching and reading xscreensaver's site I discovered what the problem was.

First, start with your .xinitrc or .xsession file. Add the lines:

xscreensaver-command -exit
xscreensaver &

Here's where to add the lines--->you must add the lines before the line that executes your current window manager. I add them at the top so there's never a problem.

Here's a sample file:
--------------------------------
#xsession file

xscreensaver-command -exit
xscreensaver &

#exec startkde

#exec blackbox

#exec fluxbox

#exec fvwm2

exec waimea

--------------------------------------