Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The energy options screen, oddly, doesn't have an option for what to do when the power button is pressed!

Translating the three options:

  • "Suspend when inactive for:" (it's set to not suspend)
  • "When the lid is closed:" (it's set to suspend)
  • "When (battery) power is extremely low:" (it's set to power off)

Where are the power button options? They appear when I run Fedora 14 in the same computer.

enter image description here

share|improve this question
I want exactly the same thing for suspend and can't find it. Very frustrating. – e-satis Oct 24 '11 at 16:39
up vote 3 down vote accepted

The options is not available in the UI anymore, but I found it to be still availble in gconf.

To attach an action with the power button, enter in a terminal:

gsettings set org.gnome.settings-daemon.plugins.power button-power action_name

Where action_name is one of the following:

  • suspend
  • shutdown
  • hibernate
  • interactive (ask what to do)
share|improve this answer
Is there a way to make that system-wide (including from the login screen) without having to configure it for each user? – JCCyC Oct 25 '11 at 16:48
I don't know, sorry – e-satis Jan 16 '12 at 9:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.