[lug] Xscreensaver doesnt run?

JEFF PFOHL pfohl at sandia.gov
Fri May 12 11:22:55 MDT 2000

xlock stopped being supported with RH6.0 (or was it 6.1, no matter) I
also used to use xlock. I actually prefer the xscreensaver now, it is
a bit more robust and has the power down feature. It was a bit
problematic to get running the way I wanted.

How to implement (or at least how I got it to work):

In your home directory create .xscreensaver. Put in the single line:


Go to /usr/lib/X11/app-defaults/
edit XScreensaver to make the following changes:

! These resources, when placed in the system-wide app-defaults directory
! (e.g., /usr/lib/X11/app-defaults/XScreenSaver) will provide the default
! settings for new users.  However, if you have a ".xscreensaver" file in
! your home directory, the settings in that file take precedence.

*cycle:                 0
*lock:                  True

(they were set to 10, false in my default install)

Leave the rest.

edit /usr/lib/X11/xdm/Xsession
add the lines:

xscreensaver-command -exit
xscreensaver &

edit .login 
add the line
xset +dpms
xset dpms 1800 3600 21600

(I tried putting this in .xinitrc but it didn't work)

I put in my .fvwmrc the lines:
Popup "Applications"
        Title   "Applications"
        Exec    "xlock"         exec xscreensaver-command -lock &

Man pages to read are xset, xscreensaver

I think that was all I did. If this doesn't work for you let me know
and I'll poke around to see if there was anything else I needed to do.

			 	E-MAIL: pfohl at sandia.gov
				PHONE : (505) 844-7033  work
					(505) 299-9516  home
        				(505) 844-6729  fax

"My grandfather once told me that there are two kinds of people: 
 Those who do the work and those who take the credit. He told me to 
 try to be in the first group; there was much less competition."

 - Indira Ghandi, the late Prime Minister of India

More information about the LUG mailing list