How to put Macbook to sleep when closing the lid with an external monitor connected

Discussion in 'MacBook' started by wisestar, May 15, 2015.

  1. wisestar macrumors newbie

    Joined:
    Dec 14, 2008
    #1
    Hi, I have been searching for a app or a solution to put the macbook to sleep by closing the lid first while connecting to an external monitor.

    At the moment, when I close the lid, the external monitor is still on and it is annoying because I want to just close the lid at lunch time to shut both screen. And at the end of the day I want to close the lid first to put the system to sleep and a program call Mountain will automatically unmount all my external hard drive before I unplug the USB C adapter. but at the moment, I couldn't use the program because macbook will not go to sleep when I close the lid with external monitor is plugged in.

    Can someone help me please!
     
  2. mattopotamus macrumors G5

    mattopotamus

    Joined:
    Jun 12, 2012
    #2
    The reason the mac does not go to sleep when you close the lid and are connected to an external display is b.c clamshell mode. People who do not use the mac display actually close the lid when connected to an external display. There are two ways to make the mac sleep.

    apple log in top left, sleep

    or

    cmd-option-eject
     
  3. tutux macrumors member

    tutux

    Joined:
    May 4, 2015
    #3
    the question is more: why not an option to decide which effect we want in the power scheme settings???
     
  4. mattopotamus macrumors G5

    mattopotamus

    Joined:
    Jun 12, 2012
    #4
    agreed. Little things like that need options. I also find it annoying I have to keep my mac opened when connecting to an external display. I use clamshell mode, so why the hell can I not connect a closed mac!

    I think I can connect it when closed, but that actually does what the OP wants. When the mac sleeps, I have to open the lid to wake it.
     
  5. wisestar thread starter macrumors newbie

    Joined:
    Dec 14, 2008
    #5
    Come on, there must be a nifty little app somewhere can let us choose the behavior of the lid closing and the sleep status.

    Someone? Many thanks!
     
  6. recoil80 macrumors 68000

    Joined:
    Jul 16, 2014
    #6
  7. wisestar thread starter macrumors newbie

    Joined:
    Dec 14, 2008
    #7
    Thanks for the app but it does not help me at all. I want the exact opposite, at the moment I think Yosemite set closing the lid NOT to go to sleep when you have an external monitor plugged in (through the USB-C Digital AV adapter). I want my macbook to go to sleep when I go to lunch and shut the external monitor as well so my screen is not visible to other people.
     
  8. JTToft, May 15, 2015
    Last edited: May 15, 2015

    JTToft macrumors 68040

    Joined:
    Apr 27, 2010
    Location:
    Aarhus, Denmark
    #8
    - An external keyboard or mouse wakes a sleeping Mac, even Bluetooth ones.

    OP: You'll have to use Cmd + Option + Eject to sleep.
    Unless you can craft some sort of solution via AppleScript or Automator etc. that automatically sleeps the machine whenever it only detects one display (meaning after it's gone into clamshell mode after being closed).
     
  9. recoil80, May 15, 2015
    Last edited: May 15, 2015

    recoil80 macrumors 68000

    Joined:
    Jul 16, 2014
    #9
    See if this app helps
    http://www.macupdate.com/app/mac/22211/insomniax
    never tried it so I have no idea
     
  10. matt2053 macrumors 6502a

    Joined:
    Jul 8, 2012
    #10
    1. Regardless of anything else, t's good to always get in the habbit of Cmd+Alt+Eject (or power) when you go away from your desk.

    2. When you shut the lid, just pull the display cable out of the adapter and the Macbook will immediately go to sleep. You can leave it laying right next to the Macbook. When you return, stick it back in and it will wake up.
     

Share This Page