Brightness control in FreeBSD 10.1-RELEASE

Avinash Sonawane rootkea at gmail.com
Thu May 21 13:02:18 UTC 2015


On Thu, May 21, 2015 at 6:07 PM, Polytropon <freebsd at edvax.de> wrote:

> This is only for one of the keys (code 133), what about the
> other one?

For other one I got same never ending loop.
I guess these are the relevant specifics:

KeyRelease event, serial 37, synthetic NO, window 0x1e00001,
    root 0x2b9, subw 0x0, time 3656195, (96,113), root:(690,436),
    state 0x10, keycode 134 (keysym 0xffae, KP_Decimal), same_screen YES,
    XLookupString gives 1 bytes: (2e) "."
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x1e00001,
    root 0x2b9, subw 0x0, time 3656195, (96,113), root:(690,436),
    state 0x10, keycode 134 (keysym 0xffae, KP_Decimal), same_screen YES,
    XLookupString gives 1 bytes: (2e) "."
    XmbLookupString gives 1 bytes: (2e) "."
    XFilterEvent returns: False

> If you find a way to modify screen brightness using a command,
> you can use xmodmap and xbindkeys to connect that command to
> a keypress of that key.

I guess that'll work. I am looking at `man acpi_video` which talks
about sysctling brightness variables.

-- 
Avinash Sonawane (RootKea)
PICT, Pune
http://rootkea.wordpress.com


More information about the freebsd-questions mailing list