Diary and notebook of whatever tech problems are irritating me at the moment.

20080120

Disabling hibernate and suspend buttons

On systems with broken hibernate and suspend its a good idea to disable the option in Gnome and KDE to prevent inadvertent usage and potential lock-ups.

In Gnome use the gconf-editor. On systems using sudo to prevent direct root login launch it by "gksu gconf-editor". Browse the configuration tree to:
/apps/gnome-power-manager/general
Uncheck "can_hibernate" and "can_suspend". Right-click them and select "Set as Mandatory". Users will probably have to relogin before it takes effect.

In KDE, create a file:
/usr/share/kubuntu-default-settings/kde-profile/default/share/config/power-managerrc
In this file add:
disableSuspend=1
disableHibernate=1

No comments:

About Me

Omnifarious Implementer = I do just about everything. With my usual occupations this means anything an electrical engineer does not feel like doing including PCB design, electronic troubleshooting and repair, part sourcing, inventory control, enclosure machining, label design, PC support, network administration, plant maintenance, janitorial, etc. Non-occupational includes residential plumbing, heating, electrical, farming, automotive and small engine repair. There is plenty more but you get the idea.