<div class="gmail_quote">2011/10/27 Robbie Smith <span dir="ltr">&lt;<a href="mailto:zoqaeski@gmail.com">zoqaeski@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 27/10/11 22:43, Paul wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thu, Oct 27, 2011 at 02:14:32PM +1100, Robbie Smith wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Does anyone know of a workaround I could use to bind the brightness keys<br>
to their respective functions?<br>
</blockquote>
<br>
Put xbacklight in a script and bind to the script instead?<br>
<br>
</blockquote></div>
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.<div>
<div></div><div class="h5"><br>
______________________________<u></u>_________________<br>
openbox mailing list<br>
<a href="mailto:openbox@icculus.org" target="_blank">openbox@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/<u></u>listinfo/openbox</a><br>
</div></div></blockquote></div>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.<div><br></div>