How Do I Prevent My Mac Display From Turning Off When Pushing The Power Button?
Question:
Is there a way to stop my MacBook Pro display from sleeping when I accidentally hit the power key on the keyboard?
- Asked by Reggie T. May 1st, 2014
Answer:
Yes, launch the Terminal app (it's inside Applications > Utilities) and then paste in the following command:
defaults write com.apple.loginwindow PowerButtonSleepsSystem -bool no
Hit return and the change will go into effect. If you ever want to undo this change, go back into Terminal and paste the text below, followed by hit return:
defaults write com.apple.loginwindow PowerButtonSleepsSystem -bool yes