From 3a4f3e75b49507e83c2a62a3d1df75b6ea405146 Mon Sep 17 00:00:00 2001 From: Michel Le Cocq Date: Mon, 22 Jun 2020 08:08:20 +0200 Subject: [PATCH] --- XPS-13-7390-2-in-1--.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/XPS-13-7390-2-in-1--.md b/XPS-13-7390-2-in-1--.md index d80c06d..9596a7e 100644 --- a/XPS-13-7390-2-in-1--.md +++ b/XPS-13-7390-2-in-1--.md @@ -198,6 +198,24 @@ change /etc/default/grub : add your resume UUID into GRUB_CMDLINE_LINUX_DEFAULT GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=75034ff5-...-9e4564e16d34" ~~~ +## enable hibernate in system + +/etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla + +~~~ +[Réactive hiberner par défaut dans upower] +Identity=unix-user:* +Action=org.freedesktop.upower.hibernate +ResultActive=yes + +[Réactive hiberner par défaut dans 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 +~~~ + +[](https://doc.ubuntu-fr.org/tutoriel/activer_hibernation) + kernel lockdown prevent hibernation : [](https://unix.stackexchange.com/questions/591488/why-does-the-kernel-lockdown-prevent-hibernation)