I have installed XUbuntu.
xxx:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
I would like to hibernate (instead of shutdown or suspend) my workstation sometimes. However, the options available are only: Log Out, Restart, Shutdown and Suspend. Is there a way of enabling the Hibernate Option? or is there a way of Hibernate the system using the command line?
I have been reading this StackOverflow question and answers. However, I do not know if I want to use my swap file. Is there an easy solution that saves the content of the RAM within the hard disk of the system? Or, better said, is there an easy solution for enabling the option like in Windows? I do not really want to have control over which part of the system the OS saves the information. It useless until I have more than enough space.
Note:
xxx:~$ sudo systemctl hibernate
Failed to hibernate system via logind: Sleep verb not supported