I did a clean install of 15.04, tried to enable hibernation per instruction from http://ubuntuhandbook.org/index.php/2014/10/enable-hibernate-option-in-ubuntu-14-10-unity/
but it works only if I boot with upstart and not with systemd.
How can I get it to work with systemd?
EDIT>After installing hibernate package I can run it from the terminal, but still it is not available in the shutdown menu.
Create the following file: /etc/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla
Copy / paste the following content into it:
Log out and check that you can see the hibernate menu item on the login screen, do the same once you logged in.
The reason the above manual step needs to be done is that they seem to have disabled hibernate by default in Ubuntu 15.04.
The answer given by Jinesh Choksi to create the file
/etc/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla
doesn't seem to work for me, when I resume hibernation, it just performs a normal boot. The best option I've found is the classicpm-hibernate
, which works with no issues:You also have the option of a hybrid suspend/hibernate. From the man pages: