[Pkg-systemd-maintainers] Bug#717661: Bug#717661: New suspend functionality causes double-suspend for environments not supporting the inhibit API

Michael Stapelberg stapelberg at debian.org
Tue Jul 23 18:59:45 BST 2013


Hi Michael,

Michael Biebl <biebl at debian.org> writes:
> Desktop environments, which want to handle power events themselves, are
> supposed to use the inhibit API [1], to tell logind which keys they want
> to handle on their own.
> KDE 4.10 (in sid) and GNOME 3.8 (currently in experimental) have support
> for that inhibit API.
> For other environments, this react to power events themselves, this
> means that we will get a double-suspend if such an event happens.
Would it be an acceptable alternative to ship logind.conf with
HandlePowerKey=ignore, HandleSuspendKey=ignore,
HandleHibernateKey=ignore and HandleLidSwitch=ignore?

Or do GNOME and KDE actually use some of these features, just not all of
them?

Do you know where the specific code is in GNOME that deals with this? I
grepped gnome-power-manager 3.8 but couldn’t find it.

-- 
Best regards,
Michael




More information about the Pkg-systemd-maintainers mailing list