102

Up until yesterday (with Snow Leopard), closing the lid would cause my MacBook to sleep whether or not the external monitor was connected.

Since upgrading to Lion last night, closing the lid when the external monitor is attached just tosses all windows to that screen and keeps going.

I realize I can sleep via the Apple menu or keyboard before closing the lid. I'd rather not have to, and I'm wondering if there's a setting to restore the sleep-on-close behavior.

hairboat
  • 2,903
  • 18
  • 51
  • 72
Paul Roub
  • 1,143
  • 2
  • 9
  • 14
  • 2
    Reading for Siracusa's review, this is the normal behavior in Lion. Let's see if there's an option somewhere. – Loïc Wolff Jul 21 '11 at 15:22
  • Have you tried doing control-shift-eject? –  Jul 21 '11 at 15:43
  • 2
    See above: "I realize I can sleep via the Apple menu or keyboard before closing the lid" – Paul Roub Jul 21 '11 at 15:46
  • I don't get why there isn't an option for this and why the "lion behaviour" is the default one. WHY would ANYONE EVER turn down the access to better cooling and extra screen space available by using the macbook while open with a monitor plugged in – Alexander Aug 05 '11 at 01:43
  • 4
    I have a use case. I want to allow my kids to use my MacBook to watch videos. I don't want them to put sticky fingers on the notebook's own screen or keyboard so I'll just hide the Macbook behind a commodity monitor and let them bash on the Bluetooth keyboard. I might even stand the monitor on top of the closed case is it is not too heavy. – Stuart Woodward Nov 28 '11 at 06:19
  • @XAleX, here's another. It's a hassle to mess with two monitors — there's a big gap, the virtual alignment often doesn't really match the physical alignment, etc. So if one's external monitor is big enough, the small MacBook LCD adds no value. FWIW, I love the Lion behavior, and the Snow Lion behavior drove me bonkers. – Reid Mar 14 '12 at 03:42
  • You can set the virtual alignment just like the physical one, i use it every day and it's terrific for adding sooo much extra space – Alexander Mar 14 '12 at 03:52
  • @user6124, that doesn't work so well if your computer doesn't have an eject key (because it doesn't have a cd drive). – asmeurer Jul 20 '12 at 19:53

9 Answers9

32

edit: See this as the behaviour has changed: Why won't closing the lid sleep my MacBook Pro with external monitor attached after upgrading to Lion?

There are two groups of people. Those who wish to have dual displays and have closing the lid go into sleep and people who wish to disable the monitor display, close the lid and use the external monitor as if you had 'docked' with it.

Previously, if you wished to switch from the macbook to an external monitor entirely then you had to perform the following to put the laptop into clamshell mode:

  1. Make sure the computer is plugged in to an outlet using the AC power adapter.
  2. Connect a USB keyboard and mouse to your computer.
  3. With the computer turned on connect the Apple portable (using the appropriate Apple adapter if necessary) to the appropriate port on the external display or projector and turn the display or projector on.
  4. Once your computer's Desktop appears on the external display, close the computer's lid.
  5. Once the lid is closed, wake the computer up by either clicking your mouse button or by pressing a key on your external keyboard.

source: http://support.apple.com/kb/ht3131

So to put the machine in clamshell mode required you to put it to sleep and wake it back up again. As far as user experience goes, that is somewhat jarring.

As you have the other options to put the machine to sleep, it seems very likely that this change will remain.

Right now, there is no way to alter this behaviour.

  • 2
  • Hope that the %&@$§! MacBook doesn't fall right back into sleep again, which happened to me every day. Lion changes that for good.
  • – René Jul 21 '11 at 16:25
  • 18
    This would be a great answer to "why did they change the lid-closed behavior?" And I get it. But the question at hand is "is there some way to get the old behavior back for those of in the first group?" – Paul Roub Jul 21 '11 at 16:34
  • That reads like I'm correcting / complaining about your response; really just explaining why it's not accepted. It's actually a useful explanation for those angered / baffled by the change. – Paul Roub Jul 21 '11 at 16:44
  • Hi Paul, I didn't take it as a complaint, don't worry. I knew it wasn't an answer but I am sure that it wouldn't have fit into the comments section. The answer may be that "you can't" but I cannot say that for sure, hopefully someone can provide a direct answer either way. – Neil Trodden Jul 21 '11 at 16:51
  • What happens if you turn off the monitor and close the lid? My Mac desktop certainly appears to know if the monitor is on or not. – Hack Saw Oct 22 '11 at 20:01
  • 2
    Yes, it sucks that people had to re-wake up their mac laptop if they wanted to use it with the lid closed, but there's an obvious solution: make the behavior configurable! Apple could even make the no-re-wake behavior the default, if that's what most people would want or expect. Then, the other half of the population doesn't have to go through the "extra" step of sleeping, before closing the lid. – allyourcode Feb 19 '12 at 13:35
  • 4
    Right now, there is no way to alter this behaviour. This is not true (anymore). This answer reverts it back to the old behaviour. – Saaru Lindestøkke Nov 05 '13 at 12:00