Possible Duplicate:
Is it possible to put the display to sleep without putting the whole computer to sleep?
I have an iMac, and sometimes I want to play some music over night, without the bright display. The display will be turned off automatically several minutes later, but I would like a button that turns the display off instantly and keeps the music playing.
How can I do this?
pmset
. Similar to https://apple.stackexchange.com/questions/311072/macos-high-sierra-restarting-by-itself-during-sleep – Peter Becich Mar 25 '19 at 19:36pmset displaysleepnow
command did the trick for me. I didn't have mac keyboard and prefer commands as it is. Source answer here. – yuvilio Apr 28 '19 at 01:22