DPMS and automatic sleep inhibit API
drf54321 at gmail.com
Thu Feb 18 11:55:13 PST 2010
On Thursday 18 February 2010 16:40:07 Ali Abdallah wrote:
> So now that org.freedesktop.PowerManagement spec that was written by
> Hugsie is dropped for whatever reasons, this drops its inhibit interface
> as well,
> so applications whishing to prevent automatic sleep cannot anymore do
> that in a desktop neutral way.
As Aaron pointed out already, in KDE the spec is implemented, but a possible
work on improving it and resurrecting it eventually (didn't know it was dead,
btw.) is more than appreciated, but I would like to have a voice in reviewing
> AFAIK inhibit interface in gnome is moved from gpm to the
> gnome-session, most
> gnome applications uses the org.gnome.Session.Inhibit to inhibit
> automatic sleep,
> while this will not work if running these apps under other desktop
> (Xfce, KDE, ...). I think KDE also have something similar for their
> session as well.
> trivial question raises here, why there is still no standard API for
> doing this
> basic task.
> So why not having a standard API on a name
> org.freedesktop.SessionManager with
> two methods InhibitSleep InhibitDPMS for example, this way any session
> can export these methods in parallel with its private name/methods
> (org.gnome.Session org.KDE.Session).
> I will be very happy to write such spec and implement it in our Xfce
> manager, this way even closed source media players can use these methods
> without having to care about the different desktop environments.
> I hope the idea will be supported as simple as it is, without going
> to endless
> xdg mailing list
> xdg at lists.freedesktop.org
GPG Key Signature: 511A9A3B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/xdg/attachments/20100218/fad759ac/attachment.pgp
More information about the xdg