GNOME: Remove suspend and hibernate
Proyecto: | Trisquel |
Versión: | 7.0 |
Componente: | Gnome |
Categoría: | informe de fallo |
Prioridad: | normal |
Asignado: | No asignado |
Estado: | closed |
Saltar a:
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'
- Inicie sesión o regístrese para enviar comentarios
Both Suspend and Hibernate have been fixed in Trisqel 8.