Please standardize Screen saver DBus interfaces

Jim Gettys jg at freedesktop.org
Tue May 19 06:46:02 PDT 2009


The core X protocol never anticipated the inhibition of screen saving 
for video playing (much less having several video players running in 
advance: any video at all was well in the future) it is a scenario of 
use we did not foresee.

Trying to (ab)use the core X11 protocol into solving this problem is 
almost certainly futile; instead some convention built on top using 
properties seems like the way to go to me....
                           - Jim


Patryk Zawadzki wrote:
> On Tue, May 19, 2009 at 3:24 PM, Ali Abdallah <aliov at xfce.org> wrote:
>> Bastien Nocera wrote:
>>> Certainly not, using XSetScreenSaver means that if your app crashes,
>>> you'll end up with a disabled screensaver, instead of having the
>>> defaults restored.
>> I'm speaking about XRestSceenSaver call periodically, not to disable the
>> screen saver.
> 
> Actually it would be easier to create a simple DBus daemon script for
> xscreensaver that used service activation and g_timeout_add_seconds to
> call XResetScreenSaver than trying to fix things that are not broken
> (forcing GNOME apps to call Xlib functions directly).
> 



More information about the xdg mailing list