DPMS and automatic sleep inhibit API
aliov at xfce.org
Thu Feb 18 07:40:07 PST 2010
So now that org.freedesktop.PowerManagement spec that was written by
Hugsie is dropped for whatever reasons, this drops its inhibit interface
so applications whishing to prevent automatic sleep cannot anymore do
that in a desktop neutral way.
AFAIK inhibit interface in gnome is moved from gpm to the
gnome applications uses the org.gnome.Session.Inhibit to inhibit
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
So why not having a standard API on a name
two methods InhibitSleep InhibitDPMS for example, this way any session
can export these methods in parallel with its private name/methods
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
More information about the xdg