image
image

|


Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old April 23rd, 2007, 01:01 PM
Registered User
 
Join Date: Apr 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
caseyhayward is on a distinguished road
Screen brightness through terminal

Hello,

I am a terminal novice, but the screen brightness buttons won't work on my ibook G4. Can I use a terminal command to acheive the same control and if so, what is/are that (those) command(s)?

Last edited by caseyhayward; April 23rd, 2007 at 01:03 PM. Reason: removing a stupid icon
Reply With Quote
  #2  
Old April 23rd, 2007, 01:37 PM
fryke's Avatar
Super Moderator
 
Join Date: Sep 2000
Location: macosx.com
Posts: 13,040
Thanks: 2
Thanked 0 Times in 0 Posts
fryke has a spectacular aura aboutfryke has a spectacular aura about
What about using the Displays preference pane? And why don't the keys work?
__________________
MacBook Air 13" 1.6 GHz, 2 GB RAM, 80 GB HD. Mac OS X 10.5.4
MacBook 13" 1.83 GHz, 2 GB RAM, 160 GB HD. Mac OS X 10.5.4
Hackintosh Core2Duo 2.4 GHz, 2 GB RAM, 160 GB HD. Mac OS X 10.5.4
iPhone 3G 16 GB (v2), AppleTV 1G 40 GB (v2)

Mac user since 1987, Apple Product Professional 2007, 2008.
Reply With Quote
  #3  
Old April 23rd, 2007, 02:03 PM
Registered User
 
Join Date: Apr 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
caseyhayward is on a distinguished road
thanks fryke,

I was hoping for something quicker/cooler than using the pref pane but you are probably right that is my best option. The keys don't work because my wife spilled water on the keyboard yikes!
Reply With Quote
  #4  
Old April 23rd, 2007, 02:29 PM
fryke's Avatar
Super Moderator
 
Join Date: Sep 2000
Location: macosx.com
Posts: 13,040
Thanks: 2
Thanked 0 Times in 0 Posts
fryke has a spectacular aura aboutfryke has a spectacular aura about
You probably could whip up something with AppleScript. Maybe some scripts exist already... Wouldn't know, though. Google might.
__________________
MacBook Air 13" 1.6 GHz, 2 GB RAM, 80 GB HD. Mac OS X 10.5.4
MacBook 13" 1.83 GHz, 2 GB RAM, 160 GB HD. Mac OS X 10.5.4
Hackintosh Core2Duo 2.4 GHz, 2 GB RAM, 160 GB HD. Mac OS X 10.5.4
iPhone 3G 16 GB (v2), AppleTV 1G 40 GB (v2)

Mac user since 1987, Apple Product Professional 2007, 2008.
Reply With Quote
  #5  
Old April 23rd, 2007, 05:19 PM
macbri's Avatar
Mac (r)evolution
 
Join Date: Jun 2005
Location: Ireland
Posts: 247
Thanks: 1
Thanked 0 Times in 0 Posts
macbri is on a distinguished road
It ain't pretty, and it ain't ideal (you'd need to play around with the delay settings etc. to work depending on the speed of your machine), but you could alias "brighter" to something like:

Code:
osascript -e 'tell application "System Events" to repeat 50 times' -e 'key code 113' -e 'delay 0.1' -e 'end repeat'
and "darker" to:

Code:
osascript -e 'tell application "System Events" to repeat 50 times' -e 'key code 107' -e 'delay 0.1' -e 'end repeat'
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 08:47 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.