Skip to content

Instantly share code, notes, and snippets.

@redraw
Created January 15, 2021 21:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save redraw/ae303a4028d7c8b9bfb083bd96ce4219 to your computer and use it in GitHub Desktop.
Save redraw/ae303a4028d7c8b9bfb083bd96ce4219 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