Clamshell Bug in Mountain Lion

Discussion in 'OS X Mountain Lion (10.8)' started by AngerDanger, Jul 27, 2012.


Do you have any idea what I'm talking about

  1. No, keep your problems to yourself, buddy.

    7 vote(s)
  2. Yes, and it bugs me too.

    1 vote(s)
  1. AngerDanger, Jul 27, 2012
    Last edited: Aug 1, 2012

    AngerDanger macrumors 68040


    Dec 9, 2008
    Edit: SOLVED

    I know there is another thread with a similar title, but the user who started it was referring to a "bug" that has been around since Lion.

    Anyway, my problem is that whenever I turn my Mac on while clamshelled, the integrated display and glowing Apple logo stay on despite the lid being closed. To turn them off, I have to open and close the lid and wait for the blue fade to take effect; no big deal but still a slight annoyance.

    I'm wondering if anybody has the same issue, and more importantly, if anybody has a solution, like a terminal command line.
  2. AngerDanger, Jul 30, 2012
    Last edited: Jul 30, 2012

    AngerDanger thread starter macrumors 68040


    Dec 9, 2008
    It seems the issue is caused by Mountain Lion not detecting displays on startup, so it doesn't acknowledge the closed lid. By pressing command + F2 or option + clicking the Gather Windows button in Displays prefs, I can detect displays manually.

    I've spent a while trying to write a script that would do either of those things and put it in my login items, but using F2 as a keystroke (rather than actually clicking it) plays an error sound. Also, System Prefs doesn't acknowledge "option down" for some extremely bizarre reason.
  3. AngerDanger, Jul 31, 2012
    Last edited: Aug 3, 2012

    AngerDanger thread starter macrumors 68040


    Dec 9, 2008
    Alright, for any future people who find themselves with this problem (the laptop screen stays on even when the lid is closed as the computer turns on), I've developed a workaround.

    I found the binary online that performs the display detection, and threw it into an app that I attached. If you put this app into your login items, the closed display will shut off on startup.

    BTW, if you aren't experiencing the same problem as me, the app will apear to launch and almost instantly close; it isn't some weird malware process.

    Attached Files:

  4. danb77 macrumors 6502

    Sep 4, 2007
    Thanks Fresh Pie,

    I had this bug in Lion,but not yet in ML. Thanks for writing the script.
  5. AngerDanger thread starter macrumors 68040


    Dec 9, 2008
    No problem. I'm fairly annoyed to learn that it was an issue with Lion too rather than just being a glitch that Apple forgot to resolve before pushing Mountain Lion to their servers.

Share This Page