GNOME: Remove suspend and hibernate
Progetto: | Trisquel |
Versione: | 7.0 |
Componente: | Gnome |
Categoria: | segnalazione di bug |
Priorità: | normal |
Assigned: | Non assegnata |
Stato: | closed |
Jump to:
Confirmed bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1283938
It's better to remove these features until the bug have been fixed. This is how I do it:
gsettings set org.gnome.settings-daemon.plugins.power button-hibernate "nothing"
gsettings set org.gnome.settings-daemon.plugins.power button-sleep "nothing"
gsettings set org.gnome.settings-daemon.plugins.power button-suspend "nothing"
gsettings set org.gnome.settings-daemon.plugins.power button-power "interactive"
# Remove Suspend and Hibernate - https://gist.github.com/schlomo/183524530d17d6a888d0
sudo bash -c 'echo "[Completely disable suspend and hibernate]
Identity=unix-user:*
Action=org.freedesktop.upower.suspend;org.freedesktop.upower.hibernate;org.freedesktop.login1.suspend*;org.freedesktop.login1.hibernate*
ResultAny=no
ResultInactive=no
ResultActive=no" > /etc/polkit-1/localauthority/90-mandatory.d/disable-suspend-and-hibernate.pkla'
- Login o registrati per inviare commenti
Both Suspend and Hibernate have been fixed in Trisqel 8.