Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.9: Disable power button sleep System 10.9
Here is a way to disable sleeping when pressing the power button on 10.9.2. 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.

[crarko adds: I tested this, and it works as described. I had to log out and log back in; I'm not sure if that's necessary.]
    •    
  • Currently 3.90 / 5
  You rated: 5 / 5 (10 votes cast)
 
[10,713 views]  

Hint Options


10.9: Disable power button sleep | 9 comments | Create New Account
Click here to return to the '10.9: Disable power button sleep' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.9: Disable power button sleep
Authored by: gopes on Mar 08, '14 06:35:43AM

You're my hero.



[ Reply to This | # ]
10.9: Disable power button sleep
Authored by: YelloSno on Mar 08, '14 12:14:57PM

Awesome! Thanks for finding and posting this. It's just what I needed.



[ Reply to This | # ]
10.9: Disable power button sleep
Authored by: chrischram on Mar 08, '14 12:59:46PM

This is a good hint to know about, but to tell you the truth, I've gotten used to the new default behavior.



[ Reply to This | # ]
10.9: Disable power button sleep
Authored by: negritude on Mar 08, '14 05:48:42PM

Just to be clear, this can also be set via pmset, correct?



[ Reply to This | # ]
10.9: Disable power button sleep
Authored by: drudus on Mar 09, '14 10:18:02PM
Have you tried via pmset on 10.9.2? It was an option before 10.9, but then it disappeared. man pmset should describe if it's an option.

[ Reply to This | # ]
10.9: Disable power button sleep
Authored by: jolipoli on Mar 10, '14 07:01:32AM

I've not only gotten used to the Mavericks way, i prefer this over how it was. It just required knowing how it worked. Once I learned the procedure, I liked it better.



[ Reply to This | # ]
10.9: Disable power button sleep
Authored by: fferitt25 on Mar 13, '14 11:32:21AM

Sorry - but after nearly 30 years of a given behavior - old habits die hard.



[ Reply to This | # ]
10.9: Disable power button sleep
Authored by: ms_t_rie on Mar 10, '14 09:20:42AM

Very nice, I hadn't realized it had changed, but I definitely want it to shut down/turn off if I use the Power Button. If I want it to sleep, I'll just close the lid!



[ Reply to This | # ]
10.9: Disable power button sleep
Authored by: fferitt25 on Mar 13, '14 11:35:45AM

This is one of the single best posts in a long time !!

And Apple was stupid for making sweeping Keyboard Command changes in ML and Mav.

Glad to know we're finding some methods to restore these items.

So thank you to MacManager for posting this.

The Mavericks functionality has been driving me batsh*t since I installed it.



[ Reply to This | # ]