GNOME: Remove suspend and hibernate

Projekt:Trisquel
Version:7.0
Komponente:Gnome
Kategorie:Fehlerbericht
Priorität:normal
Zugewiesen:nicht zugewiesen
Status:closed
Beschreibung

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'

Di, 05/15/2018 - 08:37

Both Suspend and Hibernate have been fixed in Trisqel 8.

Fr, 09/13/2024 - 23:10
Status:patch (ready)» closed