So I’ve finally gotten round to installing the Fedora 25 Beta on a spare laptop and it looks nice. However something seems to be insisting on suspending when the lid is closed, not an unreasonable default behavior but this is not what I want in this case.
Unfortunately there doesn’t seem to be a GUI in the latest gnome for editing hibernation settings, which is a slight pain in the arse. Not the end of the world, it just means manually editing
/etc/acpi/events/lid. But wait files not there, more intriguingly acpid in not installed.
dnf info acpid Available Packages Name : acpid Arch : x86_64 Epoch : 0 Version : 2.0.27 Release : 4.fc24 Size : 76 k Repo : updates Summary : ACPI Event Daemon URL : http://sourceforge.net/projects/acpid2/ License : GPLv2+ Description : acpid is a daemon that dispatches ACPI events to user-space : programs.
Oh well its been a long time since I last played/fought with acpid, guess it must be time to give in and use pm-utils…
dnf info pm-utils Error: No matches found.
Great, looks like I’m horribly out of date when running fedora on a laptop and after a quick google it turns out that to nobodies surprise its now handled by Systemd. Why bloody systemd now needs to handle login sessions I have no clue. Don’t get me wrong I like systemd, writing service files is so much nicer that bodging up init scripts. However back to the matter in hand, hibernation on lid close. To disable hibernation when the lid is closed all you need to do is uncomment