[openbox] Keybindings for screen brightness

Robbie Smith zoqaeski at gmail.com
Thu Oct 27 08:44:57 EDT 2011


On 27/10/11 22:43, Paul wrote:
> On Thu, Oct 27, 2011 at 02:14:32PM +1100, Robbie Smith wrote:
>> Does anyone know of a workaround I could use to bind the brightness keys
>> to their respective functions?
>
> Put xbacklight in a script and bind to the script instead?
>
That causes exactly the same glitch. The script works fine when called 
manually, but as an Openbox keybinding it goes nuts. The script I was 
using uses bc to work out the integer value of the brightness, from 0 to 
7, and then converts that back into the percentage that xbacklight 
understands.


More information about the openbox mailing list