That is interesting indeed. Are you a systemd user, or still sticking with sysv for now? Handling the power button is actually the default I believe., but maybe it would be worth checking? The relevent info is found in the logind.conf man page.
Thanks for your time, Wonderwoofy & brain0. Ultimately I think I was confused and misled by the news item's title using the name 'logind' instead of 'systemd-logind' or just 'systemd'. I thought I was dealing with something that was distinct from, yet somewhat dependent on, systemd.
As far as I know the logind.conf file does some basic handling of ACPI events. A DE like Gnome will handle ACPI events on its own. So using logind.conf with gnome might give conflicts. You should disable those options in logind.conf ( Normally when the line is in a comments it defaults to no ).
Hi there!To my knowledge, those options were removed from gnome-settings, and from gnome-tweak-tool as well, because Gnome 3.8 no longer handles lid close behaviour. As far as I am aware of, you can work around this issue by modifying your logind.conf (/etc/systemd/logind.conf) to your needs instead. See comments 51 and 52 here.
bwat47 wrote:Make sure all the lid/button handling stuff is disabled in /etc/systemd/logind.confI have the logind.conf at default which according to the comment seems to mean OFF. I notice that even when acpid is working properly the event is passed to logind (according to journalctl -f).David Batson wrote:Maybe: https://wiki.archlinux.org/index.php/Sy … arly_start ? I'll give that a try.