How do I put my Mac Pro to sleep by pressing the power button?

Discussion in 'Mac Pro' started by Jayson A, Feb 28, 2019.

  1. Jayson A macrumors 68000

    Joined:
    Sep 16, 2014
    #1
    I want a fast way to put my Mac Pro to sleep but the power button does nothing. In Windows I can set it to sleep when I press the power button but that doesn't seem to work in macOS Sierra. Anyone got any answers?
     
  2. jbarley macrumors 68040

    jbarley

    Joined:
    Jul 1, 2006
    Location:
    Vancouver Island
    #2
    "Alt+Cmd+eject" is quick enough for me.
    Or "Cntrl+eject" to bring up the shutdown dialog
     
  3. casperes1996 macrumors 68040

    casperes1996

    Joined:
    Jan 26, 2014
    Location:
    Horsens, Denmark
    #3

    Well, I don't have a Mac Pro, but on my iMac and MacBook Pro, it's not pressing the power button, but holding it down for just a little bit. Not long enough that it's "Kill the power", but just a little longer than a press, to avoid accidental sleeps.

    Another option is using hot corners for sleep, setting up a keyboard shortcut or similar
     
  4. W1SS, Feb 28, 2019
    Last edited: Mar 1, 2019

    W1SS macrumors 6502

    W1SS

    Joined:
    Aug 20, 2013
    #4
    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
     
  5. Jayson A thread starter macrumors 68000

    Joined:
    Sep 16, 2014
    #5
    I actually tried that command. Do I have to restart after?
     
  6. W1SS macrumors 6502

    W1SS

    Joined:
    Aug 20, 2013
    #6
    Apologies - I misread the OP's post and thought he wanted the shutdown menu to be presented instead of sleep when pressing the power button so I corrected my earlier post.
    --- Post Merged, Mar 1, 2019 ---
    You have to relogin.
     
  7. weezin, Apr 17, 2019
    Last edited: Apr 18, 2019

    weezin macrumors regular

    Joined:
    Jul 20, 2012
    #7
    Thread hijacking a little...

    I have a 2006 Mac Mini running Lion connected to a 20" Cinema Display. I want to be able to press the power button on the display to sleep the system with just that action.

    Currently, when I press the power button one the display, I get this screen:

    [​IMG]
    I have System Preferences -> Display -> Options set to "Pressing the display's power button puts the computer to sleep or wakes it".
    I have Energy saver set to check "Allow power button to put the computer to sleep".

    What is wrong here?

    If I set "Pressing the display's power button turns the display on and off", it works as expected and doesn't give me the dialog box.

    Edit: If I press and hold the power button on the display, nothing happens at all.
     
  8. crjackson2134 macrumors 601

    crjackson2134

    Joined:
    Mar 6, 2013
    Location:
    Charlotte, NC
    #8
    @weezin
    As pointed out by @casperes1996 ... Press the power button and hold for a FULL 1 second, then release.
     
  9. weezin macrumors regular

    Joined:
    Jul 20, 2012
    #9
    Holding the button for any amount of time doesn't result in anything. It just sits there.
     
  10. weckart macrumors 601

    Joined:
    Nov 7, 2004
    #10
    Seriously, all of this faffing about with the power button is much more effort than Cmd+Alt+Eject. Just use Apple's inbuilt shortcut, folks.
     
  11. weezin macrumors regular

    Joined:
    Jul 20, 2012
    #11
    That unfortunately won't work for me due to the way I'm using the computer.

    I am running it without a mouse or a keyboard and remoting in with my other computer when needed. Basically, it's being used as a "digital photo frame", and I want to be able to sleep and wake it with the power button on the monitor (which is accessible - the mac mini is hidden away). This is the reason that the power button the monitor is important and why I'm hoping that there is some solution to the problem I'm having.
     
  12. Ludacrisvp macrumors regular

    Joined:
    May 14, 2008
    #12
    Well you see the thing is apple used to allow you to sleep the Mac Pro by tapping the power button once. I used to use that method all the time. It vanished at some point probably around 10.9 era from system preferences.

    Example

    [​IMG]
     
  13. crjackson2134 macrumors 601

    crjackson2134

    Joined:
    Mar 6, 2013
    Location:
    Charlotte, NC
    #13
    It still works fine for me on 10.14.4
     
  14. jbarley macrumors 68040

    jbarley

    Joined:
    Jul 1, 2006
    Location:
    Vancouver Island
    #14
    Also still works on my Mac Pros, on 13.6 and another on 14.4
     
  15. weckart macrumors 601

    Joined:
    Nov 7, 2004
    #15
    Ah, fair enough. As you were then.
     
  16. weezin macrumors regular

    Joined:
    Jul 20, 2012
    #16
    Interestingly enough, when mess around with my Mac Pro 5,1 on High Sierra and change the settings in the Display panel, they always revert back.

    If I set the option to "Pressing the display's power button puts the computer to sleep or wakes it" and hit the back button and then go back to that page, it has reverted to "Do nothing". Same as if I choose "turns the display off". Very strange.

    When set to "do nothing" and I tap the display power button, the shutdown dialog box comes up. So strange.

    This makes me think that my mini is also reverting back to "do nothing", being that when I tap the power button, the same shutdown box comes up.
     
  17. crjackson2134 macrumors 601

    crjackson2134

    Joined:
    Mar 6, 2013
    Location:
    Charlotte, NC
    #17
    You can try TinkerTool. It has an option for toggling sleep/power button (along with a plethora of other settings).
     
  18. vkd macrumors 6502a

    vkd

    Joined:
    Sep 10, 2012
    #18
    Just make a hot corner and swipe your mouse pointer over there. Job done.
     
  19. Ludacrisvp macrumors regular

    Joined:
    May 14, 2008
    #19
    Odd, it is missing from my system prefs on all of my machines, here is one for example:
    Screen Shot 2019-04-19 at 11.19.20 AM.jpg


    Yeah, that's not the same ... hot corners don't allow computer sleep (nor should they).
    Screen Shot 2019-04-19 at 11.21.01 AM.jpg
     
  20. crjackson2134, Apr 19, 2019
    Last edited: Apr 19, 2019

    crjackson2134 macrumors 601

    crjackson2134

    Joined:
    Mar 6, 2013
    Location:
    Charlotte, NC
    #20
    It's now the default setting. You can still change it however. Just download TinkerTool and you can change the setting from there.

    Screen Shot 2019-04-19 at 12.31.25 PM.png
     
  21. Jayson A thread starter macrumors 68000

    Joined:
    Sep 16, 2014
    #21
    I would use cmd-alt-eject but my keyboard doesn’t have an eject button.
     
  22. IndioX macrumors regular

    IndioX

    Joined:
    Oct 1, 2018
    Location:
    austria/europe
  23. weezin macrumors regular

    Joined:
    Jul 20, 2012
    #23
    Funnily enough, I downloaded TinkerTool 4 (an older version since my mini is running Lion) and the option to sleep using the power button isn't in there. Bummer!
     
  24. crjackson2134 macrumors 601

    crjackson2134

    Joined:
    Mar 6, 2013
    Location:
    Charlotte, NC
    #24
    Bummer... That’s all I’ve got amigo... If I think of something else, I’ll throw it your way.
     
  25. W1SS macrumors 6502

    W1SS

    Joined:
    Aug 20, 2013
    #25
    The option to set the power button sleep feature is available in Onyx under 'Parameters / Login'
     

Share This Page

28 February 28, 2019