Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
    
Possible duplicate? (askubuntu.com/questions/66723/…) - its probably the dconf-editor setting in that answer. –  fossfreedom Dec 31 '11 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. –  Paulius Šukys Dec 31 '11 at 13:17

1 Answer 1

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.

share|improve this answer
    
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 '12 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? –  Paulius Šukys Jan 1 '12 at 22:22

Your Answer

 
discard

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.