no matter what I try to put in the file /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla but I can't get the hibernate items being displayed.
My hibernation works fine if loaded with a sudo systemctl hibernate.
The most recent configuration I added is as follow, though when I reloaded the system before I noticed the file content was wiped out. But here I leave the benefit of the doubt as I'm not sure I did save.
[Re-enable hibernate by default in upower]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes
[Re-enable hibernate by default in logind]
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate;org.freedesktop.login1.handle-hibernate-key;org.freedesktop.login1;org.freedesktop.login1.hibernate-multiple-sessions;org.freedesktop.login1.hibernate-ignore-inhibit
ResultActive=yes
Any advice?