Preventing screensaver when playing movie?

Graeme Gill graeme2 at argyllcms.com
Sun Mar 2 07:06:59 PST 2008


Erik wrote:

> If those target the X11 platform, they must work with XResetScreenSaver 
> (report it as a bug otherwise). Everything else would just be insane. It 
> is not realistic that every media player has to be compatible with every 
> screensaver. That would cause a combinatorial explosion of depencencies. 
> The only sane thing to do is that each media player just calls 
> XResetScreenSaver and every screensaver works with that.

Yet that seems to be the way of it. Some of the most popular X11 screen
savers (such as xscreensaver and the gnome screensaver) don't hook
into the X11 screensaver functions.

[Yes, I've got a steadily growing set of stuff my code has to do
  to stop screensavers spoiling things, mostly involving doing
  periodic execlp()'s to run various magic commands that
  the screensavers do take notice of. It's a mess compared
  to other platforms. dbus may eventually fix it, but it isn't
  fixed yet.]

Graeme Gill.





More information about the xorg mailing list