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






