2

I've got a small media server that sits under my TV, and it runs Ubuntu 11.04 desktop x64 with XBMC on top. I've got a problem in that unknowing users / visitors occasionally press the power button 'just to see what happens'. Ubuntu dutifully intercepts this and either sleeps or halts.

This is really annoying.

One possible option is to just disconnect the power button from the motherboard, as I've done with the reset button. However, I'd still like to be able to power it back on if I choose to halt it myself, for whatever reason, or if it completely locks up.

How can I get Ubuntu to effectively 'ignore' people randomly prodding at the power button while it's turned on?

2
  • Possible duplicate? (askubuntu.com/questions/66723/…) - its probably the dconf-editor setting in that answer.
    – fossfreedom
    Dec 31, 2011 at 12:47
  • wouldn't call that a duplicate as the problems are differently described, although the answer is universal enough for both of them.
    – psukys
    Dec 31, 2011 at 13:17

1 Answer 1

2

Bruno Pereira has made a thorough post about the power button and how to customize the actions. In short: By using dconf-editor (either you'll have it or you'll need to install it) and navigate to org/gnome/settings-daemon/plugins/power and choose power-button as blank.

2
  • I just tried to follow this, and noticed that I don't have a settings-daemon entry under org.gnome. gnome-settings-daemon is installed, but not running.
    – growse
    Jan 1, 2012 at 17:44
  • uhm, I'm not sure at this point. What do you mean by not running? does it have equivalent entrier such as plugins/power?
    – psukys
    Jan 1, 2012 at 22:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .