Hi! So you need hibernate option but kinda disappointed it doesn't come enabled by default on Linux distros. Well, here's a small guide on how to enable hibernation on ZorinOS 16. This guide should work for both Core and Pro versions.
Disable Secure Boot in your BIOS settings.
You need to have a swap partition. If you're not sure if you have one, open the 'Disks' app and see if you do (you probably won't if you're on defaults).
If you don't have one, it's pretty easy to make it.
In the Disks app, first select a partition that has at least 8GB of free space.
After that, click that partition and then click the 'gears' icon, right beside the subtract and square icon.
Assign the 'Free Space Following' to 8GB. Instead of 8GB, you can also do 16GB but it's better if you allocate the same amount as your RAM. So, if you have 8GB of RAM, do 8GB Free Space Following. If 12GB RAM, then 12GB Free Space Following.
Click Resize and Yes on any warnings that appear. You'll have something like this after:
Do not panic if it looks stuck. Just wait it out to let it finish the resizing.
Select the Free Space and click the + icon.
Configure it like this:
8. After this, select the newly created swap partition and click the gear icons once again and click on 'Edit Mount Options' and configure it like this:
Don't touch the Identify As option
9. That's it! Now you can reboot and your swap partition is now working!
Now let's set up hibernation.
Firstly, we need to configure grub to tell it to use our swap partition for system resume. Open terminal (Ctrl+Alt+T) and enter:
sudo gedit /etc/default/grub,
A text editor window will now open. Around line 12, add the line
quiet splash. After the
resume=UUID, enter the UUID that you noted earlier. Your grub file should now look like this (the image is missing the
On your keyboard, tap ctrl+o to overwrite, then The enter key to save current configuration. Tap ctrl+x to exit the editor.
Now, you must run
In terminal in order for the changes to take effect.
We're done with the hard part.
Now let's enable the hibernate option.
- Make sure you have Gnome Tweaks option installed. If not, go to store and search for "Tweaks" and install the Gnome Tweaks app.
- After this go to: Simpler Off Menu - GNOME Shell Extensions
- Install the 'Gnome Shell Integration' extension in your browser. There should be a card asking you to install it.
- Click the OFF button
- Wait for a few seconds and it should now ask you to install, click on Install.
- Refresh the page and you'll now see this:
- Click the settings icon and configure it like this:
- Now you'll have Hibernate option in your quick settings menu.
- Select Hibernate to see if it works or not. If not, make sure you entered the correct UUID in the grub config file.