Power button behaviour

By default, when pressing the power button on my mac, OSX pops up a dialog asking me what I want to do (Shutdown, sleep, restart): is there a way to change this behaviour so that pressing the power button has the same effect as selecting sleep?

Likewise, and more importantly, I have a keyboard with a suspend button that when pressed pops up the same "shutdown, sleep, restart" menu. I'd like this button to directly chose sleep, but can't find where I configure this :/

Mac mini (late 2009), Mac OS X (10.6.2), 2.53GHz Core2Duo, 4GB DDR3, 320GBHD

Posted on Dec 23, 2009 12:39 AM

Reply
9 replies

Dec 23, 2009 5:56 AM in response to musashi88

I fear it too 😐
I'll check it as soon as I get home (now I'm at work) but I think that the mac mini doesn't support that option, or that it's simply hidden in the pref pane :/
I fount it should be changeable using a command in the terminal but I don't think it's a good idea...

The command is

sudo pmset powerbutton 1

to turn the power button to sleep button

sudo pmset powerbutton 0

to make the power button show the "sleep, restart, shutdown" dialog again

Message was edited by: ilGaspa

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Power button behaviour

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.