Please standardize Screen saver DBus interfaces

Lubos Lunak l.lunak at suse.cz
Fri May 15 05:39:17 PDT 2009


On Thursday 14 of May 2009, Ali Abdallah wrote:
> Hi,
>
> It seems that the screen saver interfaces and bus name are not standard
> yet! however i see this very important, since a media player shouldn't
> guess which screen saver is running on the current session in order to
> use its inhibit interface.
>
> Please standardize this,

 Actually, the way to inhibit the screensaver on X was standardized ages ago - 
it's XResetScreensaver(), in Xlib. It resets the user inactivity counter, it 
prevents DPMS from activating, there's no need to turn anything off and on 
again and worry what happens when the app crashes or there are two of them. 
It's enough to just repeatedly call this (and the player is already busy 
doing something anyway, isn't it?). Don't other screensavers obey that?

-- 
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o.   e-mail: l.lunak at suse.cz , l.lunak at kde.org
Lihovarska 1060/12   tel: +420 284 084 672
190 00 Prague 9      fax: +420 284 028 951
Czech Republic       http://www.suse.cz


More information about the xdg mailing list