From 59314446a0d038b4242d38dff5523eb40ae1d8e5 Mon Sep 17 00:00:00 2001 From: Michel Le Cocq Date: Mon, 22 Jun 2020 13:12:46 +0200 Subject: [PATCH] --- ...laptop-hibernation-Ubuntu-20.04-full-ZFS-install.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/right-fit-swap-for-laptop-hibernation-Ubuntu-20.04-full-ZFS-install.md b/right-fit-swap-for-laptop-hibernation-Ubuntu-20.04-full-ZFS-install.md index 50ccc03..84d57c4 100644 --- a/right-fit-swap-for-laptop-hibernation-Ubuntu-20.04-full-ZFS-install.md +++ b/right-fit-swap-for-laptop-hibernation-Ubuntu-20.04-full-ZFS-install.md @@ -110,4 +110,12 @@ cryptsetup luksFormat --cipher aes-xts-plain64 --verify-passphrase --key-size 25 ~~~ GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=/dev/mapper/cryptswap1" -~~~ \ No newline at end of file +~~~ + +## xfce4-power-manager suspend to hibernate option + +~~~ +xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -n -t bool -s true +~~~ + +If you want everything time related, then you can set them with settings in /etc/systemd : **sleep.conf** and **logind.conf** \ No newline at end of file