I'm using OpenSuse 13.1 with KDE and have been trying to remove the suspend & hibernate options from the KDE menu. What I've tried so far:
Despite doing this the options are still there and I can still suspend the system as a regular user.
Any help would be greatly appreciated.
- PolicyKit files in /usr/share/polkit-1/actions (changing allow_active for all permissions related to suspend/hibernate to "no")
- Adding related policies (e.g. org.freedesktop.login1.suspend) to /etc/polkit-defaults-privs.local
- Replacing pm-is-supported with a script that does just "exit 1"
Despite doing this the options are still there and I can still suspend the system as a regular user.
Any help would be greatly appreciated.