Hi Michael,

Michael Biebl <[email protected]> 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


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to