14

Removing supend and hibernate privileges

view full story
linux-howto

http://unix.stackexchange.com – On OpenSUSE 12.1 x86_64, Gnome 3.2 . I want to remove the suspend and hibernate options from the Gnome (Shell) menu as suspend makes no sense IMO for a desktop hibernate has a slight tendency to lock up I've found that I should configure these privileges using polkit. I've dropped a file named 90-disable-suspend.conf ( also tried 90-disable-suspend.pkla ) in /etc/polkit-1/localauthority.conf.d with the following contents: [Disable Suspend] Identity=unix-user:* Action=org.freedesktop.upower.hibernate;org.freedesktop.upower.suspend ResultAny=no ResultInactive=no ResultActive=no However, r (HowTos)