pcfan5
Fri Nov 30, 2018 7:04:37 pm
Hello,
I have enlarged my swap from 4 GB to 8 GB, altough I have read here https://askubuntu.com/questions/768136/how-can-i-hibernate-on-ubuntu-16-04 it is note necesary
My RAM 4GB, I don't see the hibernate option when press "shut down" in main menu. I wonder if the link pasted above could be apply for Zorin Lite, there are many commands that I don't..
UPDATE: It turns out that this solution works
I have enlarged my swap from 4 GB to 8 GB, altough I have read here https://askubuntu.com/questions/768136/how-can-i-hibernate-on-ubuntu-16-04 it is note necesary
My RAM 4GB, I don't see the hibernate option when press "shut down" in main menu. I wonder if the link pasted above could be apply for Zorin Lite, there are many commands that I don't..
UPDATE: It turns out that this solution works
- Code:
You can use
sudo pm-hibernate
to check if hibernate works on your system (this will hibernate your computer).
If it does not work , check if your swap size is at least as large as your RAM.
To add the option to the settings menu, you can create a configuration file. Open a terminal window and run this command:
sudo nano /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
It opens nano with an empty file. Copy the lines below and paste them into the nano window.
[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
Then save the changes and close nano and reboot the system to make Hibernate available appear on "Power options"