<div dir="ltr">Hi,<br><br>I must be honest , I don&#39;t use the keybind functionality of openbox with non standard buttons ( like XF86AudioRaiseVolume,ChnageTouchPadStatus and XF86AudioMute).<br><br>I use xbindkey for that stuff.<br>
You might want to try it, first of all you need to find the keycode of you button,<br>for that use : xev <br>then create a file named .xbindkeysrc in your ~ dir, and add those lines:<br><br>&quot;xset dpms force off&quot;<br>
  m:0x0 + c:110<br> <br>* change 110 with the keycode you got from xev .<br>then start xbindkeys and see if it works.<br><br><br>Mark.<br><br><div class="gmail_quote">On Fri, Dec 31, 2010 at 10:22 PM, Jorge Almeida <span dir="ltr">&lt;<a href="mailto:jjalmeida@gmail.com">jjalmeida@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Fri, Dec 31, 2010 at 7:42 PM, Mark Bloch &lt;<a href="mailto:mark.bl@gmail.com">mark.bl@gmail.com</a>&gt; wrote:<br>

&gt; Hi,<br>
&gt;<br>
&gt; I did a test, I used this :<br>
&gt; &lt;keybind key=&quot;C-l&quot;&gt;<br>
&gt;     &lt;keybind key=&quot;s&quot;&gt;<br>
&gt;         &lt;action name=&quot;Execute&quot;&gt;<br>
&gt;           &lt;command&gt;xset dpms force off&lt;/command&gt;<br>
&gt;         &lt;/action&gt;<br>
&gt;       &lt;/keybind&gt;<br>
&gt; &lt;/keybind&gt;<br>
&gt;<br>
&gt;<br>
&gt; and it works fine. can you provide additional information  ( openbox version<br>
&gt; ) , did you try some other key?( other than 0xdf ).<br>
&gt;<br>
<br>
</div>I just tried your suggestion ant it works fine. I think I had tried<br>
other combination (Ctrl-something) and it didn&#39;t work. Maybe there is<br>
some problem with non standard keys. I currently have a working<br>
solution:<br>
<div class="im"><br>
    &lt;keybind key=&quot;0xdf&quot;&gt;<br>
      &lt;action name=&quot;Execute&quot;&gt;<br>
</div>        &lt;execute&gt;sh -c &#39;sleep 0.5;xset dpms force off&#39;&lt;/execute&gt;<br>
      &lt;/action&gt;<br>
    &lt;/keybind&gt;<br>
<br>
Of course, sleeping, not to mention calling a shell, is sub-optimal.<br>
<br>
openbox version is 3.4.11.2-2<br>
<br>
The distro is Archlinux and I keep everything up to date.<br>
<br>
Thanks,<br>
<div><div></div><div class="h5"><br>
Jorge<br>
_______________________________________________<br>
openbox mailing list<br>
<a href="mailto:openbox@icculus.org">openbox@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
</div></div></blockquote></div><br></div>