Re: Power switch to actually turn off my computer



On Thu, Apr 10, 2014 at 5:33 PM, Charles T. Smith
<cts private yahoo gmail com> 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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]