expanding the inhibit spec

Ryan Lortie desrt at desrt.ca
Wed Jan 8 06:48:56 PST 2014


On Wed, Jan 8, 2014, at 6:28, Simon McVittie wrote:
> Having implemented "delay logout until we've tried to disconnect IM
> connections" in telepathy-mission-control, in terms of the logind API
> (which only has Inhibit and PrepareToSleep), I'm not sure that a
> separate Delay API is really needed.

As I mentioned before, I'm concerned that not everyone will be using

That said, delay-before-suspend is sort of a separate thing from
Inhibit, and I'm not sure I want to support it at all in the API I
propose, so my concerns about "able to do all kinds of inhibit from one
place" don't necessarily apply here.

This would still land us in a place that means that those who want to do
tasks before suspend could only do it on logind systems.  I don't really
consider that to be a substantial problem (particularly because
non-logind systems may not even have this ability to begin with), but I
guess it would be nice to have a more generic mechanism for that as
well... one day...


More information about the xdg mailing list