As discussed multiple times here, we need hibernation. Especially, suspend-then-hibernate is very important to those who traverse meeting room to meeting room, then travel. For such people, the machine should;
- Get into suspend when the lid is closed. Then, resume when the lid is opened in the next meeting room.
- Suspended PC goes to hibernation during the travel to the next city.
The suspend-then-hibernate is the streamlined way for this use case. I really want Kubuntu will realize the hibernation just after installation.
So far, I am using a special script “Fuyujitaku” to enable hibernation on a Kubuntu laptop. This script:
- Makes the swap file size as double of RAM size, by default.
- Allow users to run the `systemctrl hibernate` command without sudo.
- Set 900sec as the transition time from suspend to hibernate, by default.
I ran this script 6 months ago. So far, so good. It just goes into hibernation 900 seconds after I close the lid. And resume without trouble. Of course, I can hibernate from the application launcher.
KDE Linux has a different story. It is using zram as swap. The zram doesn’t support hibernation. I hope the developer will use zswap to allow hibernation. Because KDE Linux is an immutable OS, users can not enable hibernation by themselves.