screensaver and power manager dbus interfaces

Jaap Karssenberg j.g.karssenberg at student.utwente.nl
Thu Jun 1 13:08:40 EEST 2006


Thiago Macieira wrote:
> Rodrigo Moya wrote:
>   
>> On Wed, 2006-05-31 at 17:48 -0700, Bastian, Waldo wrote:
>>     
>>> The screensaver interface looks good. What is the use case for the
>>> "Poke" method?
>>>       
>> I guess it can be used by apps like video players to prevent the
>> screensaver to fire while showing the movie.
>>     
>
> It should be enough to disable the screensaver and re-enable it when done.
>
> Disable/enable should be ref-counted so that if two applications ask for 
> the screensaver to be disabled, both have to ask for it to be turned on 
> again before it is.
>   

What about the case where my video player disables the screensaver and 
subsequently dies ? When using a "poke" or "beat" interface this is no 
problem and the screensaver will kick in again when appropriate. On the 
other hand if the screensaver is waiting for an "enable" call from my 
video player that never comes this will leave my desktop in an undesired 
state.

-- Jaap



More information about the xdg mailing list