Skip to content

Instantly share code, notes, and snippets.

@peter-avila
Forked from redraw/10-hibernate.conf
Created November 6, 2022 12:29
Show Gist options
  • Save peter-avila/3e7859d2d0328f70f48745c5c0929a84 to your computer and use it in GitHub Desktop.
Save peter-avila/3e7859d2d0328f70f48745c5c0929a84 to your computer and use it in GitHub Desktop.
hibernate kde neon
# particion swap size = ram
# gettear UUID con blkid
# en /etc/grub/default agregar,
# quiet splash resume=UUID=<UUID-swap-partition>
# sudo update-grub
# sudo vim /etc/polkit-1/localauthority.conf.d/10-hibernate.conf
[Re-enable hibernate by default for login1]
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate
ResultActive=yes
[Re-enable hibernate for multiple users by default in logind]
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate-multiple-sessions
ResultActive=yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment