Bring Back The Shutdown Dialog When You Press The Mac Power Button

Bring Back The Shutdown Dialog When You Press The Mac Power Button

Pressing the Mac power button in OS X Mavericks puts your Mac to sleep. A simple Terminal command can change it to display the shutdown dialog instead.

The Mac power button currently has three behaviours: sleep, shutdown dialog and force shutdown. Pressing the power button for about a second puts your Mac to sleep. Pressing it down for about three seconds brings up the shutdown dialog. If you prefer to disable the power button’s sleep mode and have the shutdown dialog appear instead, open a Terminal window and enter the following command:

defaults write PowerButtonSleepsSystem -bool no

If you change your mind, you can switch it back with this command:

defaults write PowerButtonSleepsSystem -bool yes

Remember, you can also bring up the shutdown dialog with the Control-power button shortcut. If you have a Media Eject key, you can use the Control-Media Eject shortcut too.

Easy Mac Hacks: Stop Power Button from Activating Sleep [Mac|Life]

The Cheapest NBN50 Plans

Here are the cheapest plans available for Australia’s most popular NBN speed tier.

At Lifehacker, we independently select and write about stuff we love and think you'll like too. We have affiliate and advertising partnerships, which means we may collect a share of sales or other compensation from the links on this page. BTW – prices are accurate and items in stock at the time of posting.