Hacker News new | ask | show | jobs
by heavyset_go 268 days ago
You edit one line in a file to enable hybrid sleep. Uncomment one line in /etc/systemd/sleep.conf:

AllowHybridSleep=true

Your Linux installer will also set everything up needed for it.

It's also a GUI option in KDE's System Settings.

1 comments

I wish it would be this simple.

In most cases your kernel will tell you it's "locked down" and refuse to hibernate. In my case - on a cutting edge kernel no less with Fedora - it refused to believe that the default disk encryption setup with Swap on encrypted LVM actually is encrypted and locked me out.

Linux security bros followed Apple and others here and refused to add any ability for us to configure or tell kernel that it's wrong about that and to fscking allow resume.

This stuff just works out of the box on both macOS and even the mess that is Windows.

Yeah, kernel lockdown is a shitshow