How can I clean my keyboard without turning my Macbook Air on? I would like to turn off my Macbook Air in order to clean the keyboard and not repeatedly press buttons. However, when pressing any button, the Macbook immediately turns on again.
Is there any way to disable this behavior, so that for example only the unmarked button in the top right turns it on?
You can turn off the Mac using the power button or the Terminal (sudo shutdown -h now).
This prevents the keys from turning on the Mac. The only disadvantage, as soon as you accidentally press the power button, it starts.
Another option is to run third-party software that blocks accidental keystrokes, such as Keyboard Clean Tool.