Summary
I can hibernate my system using s2disk
, but not when using pm-hibernate
or any KDE button. In latter case the system boots like it was a normal shutdown.
s2disk
works, but when resuming I unfortunately have no password prompt.
Specs (though I had same issues on 17.10)
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04 LTS
Release: 18.04
Codename: bionic
Linux 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Question
How can I either tell Kubuntu to use s2disk
for hibernation, or tell pm-hibernate
to use s2disk
(assuming that this is the correct way).
How I could solve this issue:
As mentioned in my comment, I had to set the content of
/sys/power/state
to bedisk
.Insert
disk
. Then - for what reasons ever - the (at least mine) system goes to hibernate, and comes back directly.Then I checked `settings --> Desktop Behaviour --> Activation --> "Lock screen on resume".
After that I've installed
kscreenlocker-dev
Once restarted, I could click on KDE's hibernate button and resume - including a password prompt - pretty fine.