GNOME: Remove suspend and hibernate
Projet: | Trisquel |
Version: | 7.0 |
Composant: | Gnome |
Catégorie: | Rapporter un bogue |
Priorité: | normal |
Attribué: | Non assigné |
Statut: | closed |
Aller à :
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'
- Vous devez vous identifier ou créer un compte pour écrire des commentaires
Both Suspend and Hibernate have been fixed in Trisqel 8.