Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Adjust brightness from Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Adjust brightness from Terminal
Authored by: luomat on Sep 14, '09 03:35:07PM

There are instructions to compile this on the linked page.

The only problem I found is that it only dims the screen of the main display, not a second display hooked to a laptop.



[ Reply to This | # ]
Adjust brightness from Terminal
Authored by: BobHarris on Sep 14, '09 08:20:33PM
The original brightness.c had a -d (display) option. I've been using this program for about 1/2 a year now and it works very nicely. The usage is something like:
usage: brightness [-m|-d display] [-v] 
   or: brightness -l [-v]

       -l   - Display current setting
       -d n - Use Display n (0, 1, 2, ...)
       -m   - Use the Main Display
       -v   - verbose

       0.0 to 1.0 - set the brightness from off to max
       brightness 1    # Full brightness
       brightness 0.5  # Half brightness
       brightness 0    # Display off


[ Reply to This | # ]