Adjust Mac OS X display brightness from the Terminal - Matt [Danger] - 0 views
-
Jeff Johnson on 09 Apr 10One of the classrooms I maintain is comprised of 2.4Ghz iMacs (MB323LL/A) that are dual booted with Windows XP and Mac OS X. Sometimes when the workstations are restarted from XP to OS X the display brightness gets changed to its dim power saver setting. This requires the user manually increase the display brightness by pressing the F2 key, which is inconvenient. I haven't been able to determine the cause of this issue so I wanted to create a login hook to increases the brightness as a temporary fix. OS X doesn't ship with a command line utility that let's you change display brightness. Fortunately, Nicholas Riley has written a utility that uses OS X frameworks to accomplish this quickly and easily. Here's the code