Using a different sleep (suspend) and hibernate on Ubuntu 16.04

published Sep 14, 2016 01:55   by admin ( last modified Sep 14, 2016 10:50 )

Suddenly suspend and hibernate stopped working on,  my laptop which has a self encrypted SSD disk. Probably it isdue to some graphics cards shenaningans and not the SSD, but here goes:

Do

sudo apt-get install uswsusp

For sleep, issue:

sudo s2ram -f -a 1

For hibernate issue:

sudo s2disk

Haven't manged to get it working with the Gnome power manager, so I use separate icons for the above commands.

linux - LinuxMint15: Suspend to RAM not working - Unix & Linux Stack Exchange

Uswsusp - ArchWiki

Ubuntu Manpage: uswsusp.conf - Config file for the s2disk program