|
|
Adjust brightness from Terminal
I'm the original author of the code listed in this hint. I originally wrote it for two reasons: first, to adjust brightness automatically by location on my iBook G4, which had no ambient light sensor, and second, so I could have my laptop turn on the backlight when a long operation finished, providing a quiet form of notification I could use while at a seminar.
http://sabi.net/nriley/software/brightness.zip is 4-way universal, 10.5+. I compiled it under 10.6 with:
(note that if you compile it with the 10.6 SDK you'll get a deprecation warning; it's harmless for now.)
Adjust brightness from Terminal
Thanks for this!
Adjust brightness from Terminal
Does this work on Mountain Lion? I've just downloaded it, unzipped and run it and get the following:
Mountain Lion 10.8.2 on a MacBook Pro
Adjust brightness from Terminal
You'll need to recompile it to work on Mountain Lion, but it's really easy. First, grab the source from http://dev.sabi.net/svn/dev/trunk/LocationDo/brightness.c and save it somewhere on your computer. Pop open terminal and run the following command from the same directory as brightness.c:
You must have XCode installed to run this, and it worked like a charm for me. Move to /usr/local/bin and make sure it has the correct permissions. Hope this is helpful. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.11 seconds |
|