Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
m sure there are countless settings that can confuse the computer-illiterate, as you say, but you really think a setting that allow one to define what opening the lid does
No, I don't. I actually agree with you.

In the context of my post, I was replying to a user that said adding the option to control lid behavior would be confusing for novice users. I was pointing out that there are already a lot of configurable options that confuse novice users. Controlling the lid behavior is not confusing and I would expect it to be configurable in the UI.
 
OK. And how do you prevent a Mac Studio from randomly waking for no reason when you're not even near it? That's really the only annoyance I've had with it.
 
Tim Cook is such an idiot that he allowed Macs to ship even though they turn on when any key is pressed. How on earth is that a feature? Those Macs already have a power button literally on the upper-right corner of the keyboard that turns the Mac on when it's pressed. So what the hell is the point of the Mac turning on when any key is pressed? What excuse can be given for Tim Cook's utter stupidity for allowing that?
 
Last edited:
So I keyed in sudo nvram BootPreference=%02 and shutdown the laptop. Plugging power back in to the MagSafe Port causes a tone to be generated after a couple of seconds. It is not the normal boot chime.

So did the computer actually turn on or not. Any verification involves either opening the lid which is the other turn on mode or touching a key
 
So I keyed in sudo nvram BootPreference=%02 and shutdown the laptop. Plugging power back in to the MagSafe Port causes a tone to be generated after a couple of seconds. It is not the normal boot chime.

So did the computer actually turn on or not. Any verification involves either opening the lid which is the other turn on mode or touching a key
Why do you need to touch a key?

Shut computer down, keep lid open, connect power. Does it boot up?
 
  • Like
Reactions: NoGood@Usernames
It's super easy to do if you follow the steps outlined in the article. To open Terminal just hit cmd+Space to open spotlight and type Terminal. Then copy whichever code you are wanting to run and press enter. It will ask for your password. That's your computer's login password, NOT your Apple ID Password. Type that in (The cursor will not move as you type). Then hit enter. That's all there is to it. As I said you can just copy and paste the code, you don't need to type it.
For a company that claims or used to claim that anyone can easily use their products, that is a ridiculous process.
 
  • Like
Reactions: platinumaqua
Do you have any proof of this or is this just a mean spirited kind of comment that is becoming the norm here and everywhere? I'd be willing to bet you any amount that there is a very valid reason for this.

Do you have proof otherwise? Do you have proof there is a very valid reason for this? 🙄
 
funny that comment on page one saying the apple way has less wear on the power button.

they still treat every key as a power button. smh
 
Probably default is %03
Apparently the default is just nothing, no value. If you run:
Code:
sudo nvram -p | grep  BootPreference
The default setting returns no value. If you run it after setting, it returns:
Code:
BootPreference    %00
or whatever option you selected.


is there a way to run this terminal command as a shortcut so I can forget about remembering any of this?
Yes, I made a shortcut to toggle between default and the %00 option: https://www.icloud.com/shortcuts/224f7091f4184438915a82bc37af3ad3

You will need to provide it permissions to run, allow it to run once to disable auto startup, and then run it again to allow it to re-enable. After that, you can run the shortcut freely. You can edit it and change the disable script from %00 to whichever option you prefer:

1738481713732.png
 
4 years later ... and you have to use Terminal ...
maybe MacOS Death Valley will have a setting when it comes out ...
Whoa how’d you know? My source says it’ll be followed by MacOS Salton Sea, MacOS Skid Row, MacOS San Andreas Fault, and MacOS Spahn Rannch.. All culminating in 2030 with MacOS Pacific Garbage Patch
 
If I'm opening my MacBook it's because I want to use it. If it's off it has to turn on. Why would anyone want to modify this? It's less wear and tear on a button.
Maybe I want to clean it without turning it on? Maybe I want to wipe the keys.
This happens at times of you work in IT….

I think the power button should start the computer, not a lid/screen lift or press on any key on the keyboard. At least let me easily turn this off if I want to!

Another thing Apple should add is an audio mixer for each app. Buy this and implement it into macOS. :)

 
Last edited:
  • Like
Reactions: DianaofThemiscyra
Tim Cook is such an idiot that he allowed Macs to ship even though they turn on when any key is pressed. How on earth is that a feature? Those Macs already have a power button literally on the upper-right corner of the keyboard that turns the Mac on when it's pressed. So what the hell is the point of the Mac turning on when any key is pressed? What excuse can be given for Tim Cook's utter stupidity for allowing that?
I hope he hires celebrities to read him your mean comments when it’s money-counting day at Cook Manor.
 
But it still turns on when pressing ANY KEY! How about just the power button operates the power? Let me clean my laptop keyboard without inputting a bunch of random commands. Apple is behind on so much and ahead on virtually nothing at this point.
As mentioned earlier in the thread use KeyboardCleanTool.
 
Last edited:
Now I want a setting for my M4 Mac Mini to auto turn on when it receives power. (power is controlled by a powerstrip) It would basically be the same as turn on when charging on a MacBook. But sadly it doesn't work this way.

As I read them there are separate Terminal options determining opening screen and turning on power:

Type one of these commands in Terminal, then press Return:
  • To prevent startup when opening the lid or connecting to power: sudo nvram BootPreference=%00
  • To prevent startup only when opening the lid: sudo nvram BootPreference=%01
  • To prevent startup only when connecting to power: sudo nvram BootPreference=%02

Are you saying the second option doesn't do what you want?
 
Apparently the default is just nothing, no value. If you run:
Code:
sudo nvram -p | grep  BootPreference
The default setting returns no value. If you run it after setting, it returns:
Code:
BootPreference    %00
or whatever option you selected.



Yes, I made a shortcut to toggle between default and the %00 option: https://www.icloud.com/shortcuts/224f7091f4184438915a82bc37af3ad3

You will need to provide it permissions to run, allow it to run once to disable auto startup, and then run it again to allow it to re-enable. After that, you can run the shortcut freely. You can edit it and change the disable script from %00 to whichever option you prefer:

View attachment 2478250

Thanks, brother - that's amazing!
 
For all of you saying it is unreasonable to expect that your computer stay off when the lid is opened because “what else are you going to do when you open the lid?” … how would you feel if every time you opened the driver’s door to your car, it automatically just started your car? I mean, if you are opening your door, clearly the only thing you could possibly be doing is getting in to drive it, no?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.