[openbox] Keybindings for screen brightness

Andreas Fink andreas.fink85 at googlemail.com
Thu Oct 27 09:08:38 EDT 2011


2011/10/27 Robbie Smith <zoqaeski at gmail.com>

> 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.
>
> ______________________________**_________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/**listinfo/openbox<http://icculus.org/mailman/listinfo/openbox>
>
You could try looking at the environment which is set during the execution.
Dump the environment into a file and compare it, maybe you can see something
useful there.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/openbox/attachments/20111027/dc10a635/attachment.htm>


More information about the openbox mailing list