<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Apr 26, 2014 at 4:19 PM, Jan Harders <span dir="ltr"><<a href="mailto:jan@delinquent.de" target="_blank">jan@delinquent.de</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

Hey everyone,<br>
<br>
I bought a new keyboard (Keysonic KSK-8021 U DE, layout:<br>
<a href="http://i.imgur.com/UGed07X.jpg" target="_blank">http://i.imgur.com/UGed07X.jpg</a>) and want to use the multimedia keys<br>
differently.<br>
On my old Logitech, I had extra keys for play/pause, next, previous and<br>
a wheel for volume and I liked that.<br>
The new one works fine, but, as expected, only with Fn + F7-F12. What I<br>
figured: use a Key Chain. I'd like to press the key with the note on it<br>
next to F12 (xev tells me it sends XF86Tools) and then use F7 - F12 to<br>
work their magic. Escape or XF86Tools should break the chain. I tried<br>
(I'll keep my examples to F7 to keep it short)<br>
<br>
<keybind key="XF86Tools" chroot="true"><br>
  <keybind key="F7"><action<br>
name="Execute"><command>/opt/deadbeef/bin/deadbeef<br>
--prev</command></action></keybind><br>
</keybind><br>
<br>
but it does not work as intended, the action is not run. If I hit<br>
XF86Tools and wait a second, the little Key Chain dialogue appears as it<br>
should. Hitting F7 (or any other non-XF86*-key) ends the Key Chain<br>
without executing the action.<br></blockquote><div><br></div>Try running xev, and then hitting <span style="font-size:13px;font-family:arial,sans-serif">XF86Tools and see what keycode F7 is generating afterward. Maybe the keyboard sends something different based on that key being pressed or something weird.</span><div>

 </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
The command itself is working just fine, and the general idea works aswell:<br>
<br>
<keybind key="F6" chroot="true"><br>
  <keybind key="F7"><action<br>
name="Execute"><command>/opt/deadbeef/bin/deadbeef<br>
--prev</command></action></keybind><br>
</keybind><br>
<br>
Works like it should. As do<br>
<br>
<keybind key="XF86Tools" chroot="true"><br>
  <keybind key="XF86Mail"><action<br>
name="Execute"><command>/opt/deadbeef/bin/deadbeef<br>
--prev</command></action></keybind><br>
</keybind><br>
<br>
and even<br>
<br>
<keybind key="F6" chroot="true"><br>
  <keybind key="XF86Mail"><action<br>
name="Execute"><command>/opt/deadbeef/bin/deadbeef<br>
--prev</command></action></keybind><br>
</keybind><br>
<br>
So mixing them in geneal works, just not the other way round.<br>
<br>
openbox doesn't really tell me a lot, even in debug mode (provided I<br>
entered it correctly). It just doesn't log "starting deadbeef 0.5.4<br>
[static]" when the actions are not run.<br>
<br>
I have been trying that with openbox 3.5.0 (3.5.0-2ubuntu2) on Lubuntu<br>
12.04.4 LTS.<br>
After I posted in a german forum<br>
(<a href="http://forum.ubuntuusers.de/topic/openbox-und-key-chains-mit-xf86/" target="_blank">http://forum.ubuntuusers.de/topic/openbox-und-key-chains-mit-xf86/</a>)<br>
already and HaCeMei tested at his workstation successfully on 14.04, I<br>
upgraded. No luck. Thus I am now on openbox 3.5.2-6 on 14.04. I've tried<br>
it with a clean config and, of course, with another type of keyboard but<br>
to no avail.<br>
<br>
I am at the end of my wits and I don't even know where and how to<br>
further investigate. Does anyone have an idea for me to push me  into<br>
the right direction? I'm happy to post more information on my setup if<br>
you tell me what information might be helpful.<br>
<br>
I'm fine with both on and off list communication, and will write a<br>
summary of the solution for the list.<br>
<br>
Thanks for reading!<br>
<br>
<br>
jan<br>
_______________________________________________<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/listinfo/openbox</a><br>
</blockquote></div><br></div></div>