expanding the inhibit spec

Lennart Poettering mzkqt at 0pointer.de
Thu Jan 9 20:35:09 PST 2014


On Thu, 09.01.14 14:13, Bastien Nocera (hadess at hadess.net) wrote:

> > So, let's turn this around: which operations precisely do you want to
> > cover here, and in which modes?
> > 
> > You only want blocking locks, and you want to cover
> > suspending/hibernation, and the screenlock, and ...?
> 
> The listed inhibit flags in GtkApplication are here:
> https://developer.gnome.org/gtk3/stable/GtkApplication.html#GtkApplicationInhibitFlags

OK, that looks like a pretty short list, and as an abstraction API for
the logind API (for _INHIBIT_SUSPEND and _INHIBIT_IDLE) and for some
gnome-session/fdo API (for _INHIBIT_SWITCH, _INHIBIT_LOGOUT and
_INHIBIT_IDLE) this sounds pretty close to what I'd like to see.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the xdg mailing list