portable >> Backlight switchoff- How to disable xscreensaver?

by larwe » Wed, 12 Jan 2005 11:02:48 GMT

I can't work out where exactly xscreensaver is being loaded from, and
it annoys me :) I want my laptop's backlight to go off when the screen
is blanked. DPMS works fine. But xscreensaver has a known bug that
disables DPMS.

I don't want xscreensaver, I want to kill it permanently. Short of rpm
--erase --nodeps, how can I prevent xscreensaver from loading? I'm
using FC3 with GNOME. Damned if I can work out where the config file is
that loads it.



portable >> Backlight switchoff- How to disable xscreensaver?

by Stefan Monnier » Thu, 13 Jan 2005 03:59:48 GMT


> But xscreensaver has a known bug that disables DPMS.

I don't think it's a bug. Or at least, if it's a bug, it's one you can
conveniently enable/disable via Xresources:

XScreenSaver.dpmsEnabled: true


-- Stefan



portable >> Backlight switchoff- How to disable xscreensaver?

by larwe » Thu, 13 Jan 2005 04:07:47 GMT



can

Is this a file, or a utility? I don't normally tweak desktop distros
much; my tweaking is on embedded devices where I build from the ground
up.

This behavior is reported as a known bug in xscreensaver (from my long
googling hunting for a way to disable it) - xscreensaver disables DPMS
when you run it (regardless of settings).

I'm working around at the moment by running a script at startup that
does a killall xscreensaver; xset dpms 500 500 500. But I would rather
NOT load xscreensaver.



Backlight switchoff- How to disable xscreensaver?

by Brian Eable » Thu, 13 Jan 2005 11:06:15 GMT

XXXX@XXXXX.COM writes:


grep xscreensaver $HOME/.*

It might be in $HOME/.xsession or $HOME/.xinit, but whereever it is,
grep will find it.


--
a house-blowing wolfen sneezer / might be a porcine tortfeasor. -- plorkwort
http://beable.com


Backlight switchoff- How to disable xscreensaver?

by larwe » Thu, 13 Jan 2005 11:38:39 GMT

> > I'm working around at the moment by running a script at startup
that

This was the first thing I tried. It isn't loaded by anything in my
home directory. It mnust be in some GNOME default startup file.



Backlight switchoff- How to disable xscreensaver?

by Brian Eable » Thu, 13 Jan 2005 11:56:14 GMT

XXXX@XXXXX.COM writes:


Go recursive:

grep -r xscreensaver $HOME/.[a-zA-Z]*


--
a house-blowing wolfen sneezer / might be a porcine tortfeasor. -- plorkwort
http://beable.com


Backlight switchoff- How to disable xscreensaver?

by larwe » Thu, 13 Jan 2005 19:09:39 GMT

> > > grep xscreensaver $HOME/.*

Already tried it, no dice. I think the problem is that xscreensaver is
actually spawned by some other part of GNOME which knows about it
implicitly.

There MUST be a way of disabling it. But nobody seems to have
documented how to do it :(



Backlight switchoff- How to disable xscreensaver?

by Brian Eable » Thu, 13 Jan 2005 19:35:48 GMT

XXXX@XXXXX.COM writes:


If it doesn't get started in your home directory, then it must get
started by something in /etc right? Try grepping in there. Also you
could try using a tool like Gnome's Control Panel to see if you can
turn it off there. I'm just guessing here, because I use fvwm and
Debian, so naturally I can turn things on or off whenever I want to.

You also could try renaming /usr/bin/xscreensaver to something else,
and then start up your system. After that, check your logfiles for
errors. That might give you a clue as to where it's being started.

--
a house-blowing wolfen sneezer / might be a porcine tortfeasor. -- plorkwort
http://beable.com


Backlight switchoff- How to disable xscreensaver?

by larwe » Thu, 13 Jan 2005 21:26:15 GMT

> If it doesn't get started in your home directory, then it must get

I already checked in /etc and /usr (just in case).

In Gnome's control panel, you can "disable" screensavers but the
xscreensaver process still gets started regardless.



Backlight switchoff- How to disable xscreensaver?

by david » Sat, 15 Jan 2005 05:20:30 GMT



Why not replace the xscreensaver executable with a little shell script
that does nothing ?

David