Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Do you have any idea what I'm talking about

  • No, keep your problems to yourself, buddy.

    Votes: 7 87.5%
  • Yes, and it bugs me too.

    Votes: 1 12.5%

  • Total voters
    8

AngerDanger

Graphics
Original poster
Staff member
Dec 9, 2008
5,452
29,006
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.
 
Last edited:

AngerDanger

Graphics
Original poster
Staff member
Dec 9, 2008
5,452
29,006
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.
 
Last edited:

AngerDanger

Graphics
Original poster
Staff member
Dec 9, 2008
5,452
29,006
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.
 

Attachments

  • The Solution.zip
    172.1 KB · Views: 140
Last edited:

danb77

macrumors 6502
Sep 4, 2007
442
3
Thanks Fresh Pie,

I had this bug in Lion,but not yet in ML. Thanks for writing the script.
 

AngerDanger

Graphics
Original poster
Staff member
Dec 9, 2008
5,452
29,006
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.