Some Macbook Air owners have experienced a problem with their keyboard illumination, this issue is with the MacBook Air’s ambient light sensor process that automatically illuminates the keyboard. For many users it is not functioning properly.
Various kinds of issues have been reported, when the computer is put in light the keyboard brightens, and in the dark the keyboard will darken or turn off. Sometimes the light sensor will not work at all, or will only work for either the keyboard or display brightness, but not work together.

As a FIX to this problem, Solution is found and it is likely that this is due to a corrupted .GlobalPreferences.plist preferences file in the user account. Unfortunately, deleting this file to force its recreation and this will not help, but by copying the file from another account (the root account) and then modifying the ownership of the copied file solves the issue.
This has to be done from another account besides the afflicted account, because the .GlobalPreferences.plist file cannot (or should not) be edited from the active account (it’s an invisible file, which Mac OS X is attempting to protect from user modification). Here are the steps he took, using the “root” account.
NOTE: “YOUR_USERNAME” in the commands should be changed to your account’s short name (the name of your home folder).
- Enable the root user in Directory Utility (located in /Applications/Utilities.
- Log in as root.
- Launch the terminal, located in /Applications/Utilities and enter: cp /Library/Preferences/.GlobalPreferences.plist /Users/YOUR_USERNAME/Library/Preferences/ then press return.
- Correct the permissions on the file by entering the following command: chown YOUR_USERNAME:staff /Users/YOUR_USERNAME/Library/Preferences/.GlobalPreferences.plist then pressing return.
- Log out of the root user account.
- Disable the root user in Directory Utility.
WARNING: Running as the root user means that file security is not operating and any file can be modified without confirmation. This means the computer is very vulnerable to user error so be certain to enter the commands properly. An alternative to using root is to create another administrator account and log into that one. Doing this method will ensure other system files are not vulnerable when the computer is running. When you’re logged into the second account, run this set of commands (in this case “YOUR_USERNAME” is the name of the original account, not the new one):
- Open the Terminal and enter: sudo cp /Library/Preferences/.GlobalPreferences.plist /Users/YOUR_USERNAME/Library/Preferences/
- Enter your password at the prompt.
- Then enter: sudo chown YOUR_USERNAME:staff /Users/YOUR_USERNAME/Library/Preferences/.GlobalPreferences.plist
- Reboot the computer (or logout and log back in to the primary account).
Regardless of the approach, this command sequence copies the “.GlobalPreferences.plist” file from the /Library/Preferences/ folder to your home library folder, and then changes the owner to be yourself instead of the root (system) so your account can modify the document.
For some users it was not the “.GlobalPreferences.plist” file, but instead was the com.apple.BezelServices.plist file that was the problem.
You can delete this file by running the following command in the Terminal:
- rm ~/Library/Preferences/com.apple.BezelServices.plist”
After removing the file, hard rebooting by holding the power button until the computer shut off was how he fixed the problem. While hard rebooting might not be necessary, it was a precaution he took to keep the computer from writing the preferences file back in case it was in memory somewhere.
Testing the Results
Proper keyboard illumination behavior should be as follows: In bright or room lighting the keyboard illumination should be off. As the ambient lighting lessens the keyboard should turn on to its brightest (unless you’ve manually set the brightness). As the lighting gets darker the keyboard should also dim to prevent glaring. To test the ambient light sensor, follow these steps:
- Set the computer to “Illuminate keyboard in low light conditions” in the Keyboard preferences.
- Set the computer to “Automatically adjust brightness” in the displays preferences.
- Set the keyboard and display brightnesses to their maximum.
- Cover the light sensors (holes next to the iSight camera) or move to a dark room.
- If everything is working the computer should dim the display and brighten the keyboard.
Popularity: 5%



