org.freedesktop.PowerManagement

Vincent Untz vuntz at gnome.org
Sat Mar 31 04:30:14 PDT 2007


Le vendredi 30 mars 2007, à 18:58, David Zeuthen a écrit :
> Not really; personally I'd like to get rid of them but the point about
> that if a caller inhibits the PM interface it should inhibit the
> Shutdown/Logout/Reboot interface as well. It seems you are suggestion
> two specs then:
> 
>  org.freedesktop.PowerManagement - but without Shutdown() and Reboot()
> 
> and this one
> 
>  org.freedesktop.SessionManagement
>    Shutdown()
>    Reboot()
>    Logout()
>    Inhibit(String app, String reason)
> 
> See [1] for discussion on nomenclature.
> 
> The way this could work is then that org.fd.PM.Inhibit() would also call
> Inhibit() on org.fd.SM. Specifically, as you mention, existing PM
> daemons like gnome-power-manager, kpowersave etc. would just provide
> both "interfaces" until something better comes along to provide
> org.freedesktop.SessionManagement, e.g. for GNOME it . Notably we can
> extend this interface later on.
> 
> Would this work for everyone? Personally I think this is a lot nicer.

Sounds good to me (and it looks like we'll need to write a spec for this
dbus API :-))

Vincent

-- 
Les gens heureux ne sont pas pressés.



More information about the xdg mailing list