Rate this page del.icio.us  Digg slashdot StumbleUpon

Tips and tricks: How do I remove the suspend/hibernate entries from the system menu in the Gnome panel?

by the editorial team

The suspend/hibernate menu entries in the "System" menu of the Gnome panel are linked to the Gnome Power Manager. If the Gnome Power Manager supports "suspend" or "hibernate", then the corresponding options will show in the menu.

To remove the "Suspend" or "Hibernate" options from the Gnome System menu,instruct the Gnome Power Manager to disable support for suspend and/or hibernate.

This can be achieved either graphically using gconf-editor by browsing to apps/gnome-power-manager and unset the options "can_hibernate" and "can_suspend", or use the command line tool gconftool-2:

$ gconftool-2 --type boolean --set /apps/gnome-power-manager/can_suspend false
$ gconftool-2 --type boolean --set /apps/gnome-power-manager/can_hibernate false

This sets the option for the current user. To set this by default for all users, you can use the following commands as root:

# gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type boolean --set /apps/gnome-power-manager/can_hibernate false
# gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type boolean --set /apps/gnome-power-manager/can_suspend false

Red Hat’s customer service and support teams receive technical support questions from users all over the world. Red Hat technicians add the questions and answers to Red Hat Knowledgebase on a daily basis. Access to Red Hat Knowledgebase is free. Red Hat Magazine offers a preview into the Red Hat Knowledgebase by highlighting some of the most recent entries. The information provided in this article is for your information only. The origin of this information may be internal or external to Red Hat. While Red Hat attempts to verify the validity of this information before it is posted, Red Hat makes no express or implied claims to its validity.

Leave a reply