Re: Power switch to actually turn off my computer



Emilio Pozuelo Monfort wrote:

If tweak-tool sets org.gnome.settings-daemon.plugins.power, then something
listens for that key to change and does something. You need to look for that
something. And that something is going to be gnome-settings-daemon, and more
precisely, its power plugin. Now go read the source, Luke!

but
Florian Müllner <fmuellner <at> gnome.org> wrote:


On Thu, Apr 10, 2014 at 2:34 PM, Charles T. Smith
<cts.private.yahoo <at> gmail.com> wrote:
Do you suppose that kde also manages the power switch internally?

If by "manage the power switch internally" you mean "call out to
logind via DBus", then yes, I would KDE expect to do the same
eventually (provided that they do offer an option for handling the
power key).
If you are not using GNOME (or more specifically:
gnome-settings-daemon), you should be able to set the desired action
in /etc/systemd/logind.conf(5), via the HandlePowerKey action.


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.

Who is responsible for the power switch when nobody is logged in at the console?






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