Re: Power switch to actually turn off my computer



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


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.



I tried that when I started on this quest months ago, but I think that
daemon handles the state of the power key *for a user* - i.e. in the context
of a logged in user.  I could not find out how to configure it to work when
the welcome screen is up (e.g. with a headless system).




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