I have been a windows user for a long time now and I have been used to pressing just one key in my keyboard to hibernate the machine every night. I recently bought a mac mini and I press Shift + Command + Eject to put it to sleep and then it would go to deep sleep in a while. But I am wondering if there is a keyboard shortcut to do this or maybe change the default sleep to a deep sleep.

Mac mini late 2012 with standard HDD, i5, 4gb ram


The two keyboard shortcuts for sleep: Display sleep: Shift+Control+Eject Computer sleep: Command+Option+Eject

Source: http://support.apple.com/kb/ht1343

To change the default sleep mode to hibernate (in the terminal):

sudo pmset -a hibernatemode 25

I don't think there's any way to preserve the normal sleep behaviour and have a separate keyboard shortcut for hibernation without writing a script that changes to hibernate mode when called and changes it back after, somehow, but this command does work on my MBP. There's a number of options for sleep that you can see with:

man pmset
  • Yes my bad, I meant to say Option + Command + Eject. But its not the deep sleep. – Keith Wi Aug 17 '14 at 20:05
  • Sorry, I didn't understand what you meant by deep sleep. I've amended my answer with how to change the default sleep mode. – Michael D. M. Dryden Aug 18 '14 at 1:52
  • Thats exactly what I needed. Usually when you put the mac to sleep the light blinks. After like 4 hours it goes into Deep sleep (hibernate) where the light doesnt blink – Keith Wi Aug 22 '14 at 0:23
  • On laptops—not by default on desktops: Even if you don't hibernate it, a loss of power will result in it restoring as if it were hibernating—when the system goes to sleep, it saves a "sleep image" to disk (by default, it can be changed). See the "safe sleep arguments" section of man pmset for details. – SilverWolf Jan 19 '18 at 18:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .