<div dir="ltr"><div><div>Hey, pretty cool.  I never got around to making those keys work.  I wrote some scripts for the backlight and mute as well. So here's my .xbindkeysrc (modify paths as appropriate).<br><br><br># Screen<br>#<br>"/home/dillon/adm/backlight -10"<br>        F6<br>"/home/dillon/adm/backlight 10"<br>        F7<br><br># Volume<br>#<br>"/home/dillon/adm/mute"<br>        F8<br>"mixer -f /dev/mixer1 vol -5"<br>        F9<br>"mixer -f /dev/mixer1 vol +5"<br>        F10<br><br></div>And my two scripts:<br><br>#!/bin/csh<br>#<br></div># backlight script<br><div><br>set level = `sysctl -n hw.backlight_level`<br>@ level = $level + $argv<br>sysctl hw.backlight_level=${level}<br><br><br><br>#!/bin/csh<br>#<br></div><div># mute script<br></div><div><br>set curvol = "`mixer -f /dev/mixer1 -s vol`"<br><br>if ( -f ~/.savemute ) then<br>        set lastvol = "`cat ~/.savemute`"<br>else<br>        set lastvol = ""<br>endif<br><br>if ( "$curvol" == "vol 0:0 " ) then<br>        if ( "$lastvol" != "" ) then<br>                eval mixer -f /dev/mixer1 $lastvol<br>        endif<br>else<br>        echo B<br>        echo last "$lastvol"<br>        echo curr "$curvol"<br>        if ( "$lastvol" != "$curvol" ) then<br>                echo "$curvol" > ~/.savemute<br>        endif<br>        mixer -f /dev/mixer1 vol 0<br>endif<br><br></div>​</div>