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

  • I want exactly the same thing for suspend and can't find it. Very frustrating. – e-satis Oct 24 '11 at 16:39

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)
  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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