Snippet: Disable Power Button Sleep on OS X 10.9 ☇

Shared on March 7, 2014

This new hint posted over at Mac OS X Hints was a nice little way to end a Friday:

…In Terminal, type in the following command and then press Enter.

defaults write com.apple.loginwindow PowerButtonSleepsSystem -bool no

This causes the ‘Are you sure you want to shut down your computer now?’ dialog to come up much quicker too.

I didn’t mind the new behavior of the sleep button, but I know plenty who were annoyed—especially with machines that have the power button on the keyboard. It’s also easily reversible by replacing ‘no’ with ‘yes’ on that command.

Snippets are posts that share a linked item with a bit of commentary.