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.