The option to sleep the system when pressing the power button can be enabled by running the following command in terminal
Code:
defaults write com.apple.loginwindow PowerButtonSleepsSystem -bool yes
to disable run
Code:
defaults write com.apple.loginwindow PowerButtonSleepsSystem -bool no
Apologies for dragging up this somewhat old thread but it was the best I could find relating to my issue -
I'm on an intel 16"MBP running Catalina, and the above terminal command does not work for me unfortunately.
I have Onyx installed and I can see the option that has been mentioned under parameters > login but can't use it (it's greyed out).
Downloaded Tinker Tool 7 and the mentioned option is available there yet checking / unchecking the box does nothing.
I did log out / log in / restarted the machine after trying all these procedures, to no avail.
Any other ideas anyone?
Thanks!