Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 571 Bytes

File metadata and controls

13 lines (8 loc) · 571 Bytes

How to disable the stupid fucking hibernate button

This stupid goddamn button completely locks my pc until I hard-reset it by holding down the power button. Here is how to disable it so I don’t accidentally press it again:

This assumes Fedora w/ KDE.

  1. Edit /etc/systemd/sleep.conf and set AllowHibernation=no and AllowSuspendThenHibernate=no.
  2. Run sudo systemctl mask hibernate.target hybrid-sleep.target sleep.target suspend-then-hibernate.target
  3. Reboot.

This will remove the hibernate button from the UI and disable hibernation.

Good riddance.