I can confirm that systemd logind is in control of the power button on
my ASUS UX305 laptop as of Kubuntu 15.04. This means that no matter what
the settings in KDE system-settings the power button is handled by
logind.

Since the power button is right above backspace and I often hit the backspace 
key (and have accidentally shut off my laptop several times) I have changed the 
line in /etc/systemd/logind.conf to:
HandlePowerKey=ignore

This renders the power key useless, but that is better then accidentally
shutting my computer off in the middle of typing.

If logind is going to "handle" the power key, maybe system-settings
should deal with logind and not acpi or whatever else system-settings is
trying modify to get configuration control of the power key?

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-session in Ubuntu.
https://bugs.launchpad.net/bugs/1201180

Title:
  powerbtn.sh conflicts with logind

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/acpid/+bug/1201180/+subscriptions

-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to