On Thu, Apr 10, 2014 at 5:33 PM, Charles T. Smith
<[email protected]> wrote:
> So, one responder supposed that gnome listens to the power switch, and
> another responder supposed that logind listens to the power switch - but
> that's only when someone is logged in.

Actually both are correct :-)

On systemd systems, logind handles the power key.
gnome-settings-daemon's media-keys plugin will request an inhibitor
for 'handle-power-key', which means that it asks logind to take over
the handling of the power key. When handling the power key,
gnome-settings-daemon delegates back to logind, but requesting the
action configured by the button-power key in
org.gnome.settings-daemon.plugins.power instead of the one in
logind.conf.
_______________________________________________
desktop-devel-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/desktop-devel-list

Reply via email to