This is a static archive of the old Zorin Forum.

The information below may be outdated. Visit the new Zorin Forum here ›

If you have registered on the old forum, you will need to create an account on the new forum.

(SOLVED) How to hibernate Zorin lite?

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
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"

zorinantwerp

Fri Nov 30, 2018 7:46:26 pm

Hi pcfan5

can the lead of our friend Finston help you out
viewtopic.php?f=5&t=12941

cheers

pcfan5

Sat Dec 01, 2018 11:43:40 pm

Hi thank you. The comands pasted in the opening post were the solution for me. ;)

pcfan5

Sat Jan 18, 2020 1:46:58 am

Hi I am trying to apply this solution but the link provided doesn't contain this https://help.ubuntu.com/stable/ubuntu-h ... rnate.html link any longer.

I am under zorin 15.1 and cannot make the buttom hibernate to be active

Aravisian

Sat Jan 18, 2020 2:08:05 am

pcfan5 wrote:Hi I am trying to apply this solution but the link provided doesn't contain this https://help.ubuntu.com/stable/ubuntu-h ... rnate.html link any longer.

I am under zorin 15.1 and cannot make the buttom hibernate to be active

Will this help:
http://ubuntuhandbook.org/index.php/201 ... ntu-18-04/