Smarter Screen saver

Florian Diesch diesch at
Mon Sep 26 22:07:15 CDT 2005

On Tue, Sep 20, 2005 at 11:20:59PM +0200, Dennis Kaarsemaker wrote:
> On di, 2005-09-20 at 16:44 -0400, lakcaj wrote:
> > It would be very easy to implement.  All you would need is a simple lock
> > file that xscreensaver looks for before starting.  For example, when
> > totem starts a DVD, it creates the file /var/run/ 
> > When it stops, it removes that file.  Same for mplayer, except
> > would be created.  I'm sure it would be trivial
> > for someone that can code to make xscreensaver check for any files that
> > start with noscreeny in /var/run before it starts.
> How about multiple X sessions? How about access control?
> It really is less trivial than you think..

Yes. I think the only really solution for this has to use X, so that only 
users with access to a display can change the screensaver settings for that

As far as I understand the xlib's screen saver functions (described in 
chapter "9.7. Controlling the Screen Saver" of
/usr/share/doc/xspecs/xlib.txt.gz) and the DPMS extension (described in
/usr/share/doc/xspecs/xlib/DPMS.txt.gz) could be used for this.

Es gibt Leute, die von sich behaupten "wenn ich Kaffee trinke, kann ich
nicht schlafen!". Bei mir ist das umgekehrt: Wenn ich schlafe, kann ich
keinen Kaffee trinken.  [Juergen Ilse in de.alt.folklore.urban-legends]

More information about the ubuntu-devel mailing list