<div dir="ltr"><div>Even if openbox doesn't provide it there are other ways to do this.Though I am not certain which X Event handlers actually can do this, it would be useful to know.<br></div><div><br><br>I have been collecting some notes on handling and generating events at<br>

</div><div>  <a href="http://www.ict.griffith.edu.au/anthony/info/X/event_handling.txt">http://www.ict.griffith.edu.au/anthony/info/X/event_handling.txt</a><br></div><div><br></div><div>Though most of the emphasis has been more on generating keyboard macros using xbindkeys, and openbox.  For example press W-F1 and openbox types your email address into the current text input box.<br>

</div><div><br><br><br><br></div>Like I have said in the past....<br><div><br>  There are lots of ways to skin a cat, and what method you use depends<br>  on what you want that skin for, and how messy you like the results!<br>

                                                     -- Anthony Thyssen<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 30, 2014 at 12:18 AM, The Wanderer <span dir="ltr"><<a href="mailto:wanderer@fastmail.fm" target="_blank">wanderer@fastmail.fm</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA512<br>
<br>
Does OpenBox's keybindings facility provide any way to bind an action to<br>
what xev reports as a KeyRelease event, rather than to KeyPress?<br>
<br>
<br>
I'm experimenting with trying to produce a Linux UI which works as much<br>
as possible like the standard Windows UI. I'm starting out with a base<br>
of LXDE, which uses OpenBox. LXDE includes a Start-menu type of widget,<br>
but does not bind it to the Win key by default.<br>
<br>
In Windows XP (not sure about 7 yet), when you press the Win key, the<br>
Start menu does not open immediately; it only opens when the key is<br>
released. This is presumably so that multi-key Win+[other key] bindings<br>
can work, without having the press of the Win key be eaten by the<br>
single-key bind. (Also, this probably helps avoid having the Start menu<br>
open briefly every time you try to use a Win+[other key] shortcut.)<br>
<br>
I've successfully bound the Win key (Super_L) to the appropriate LXDE<br>
menu command via the relevant OpenBox XML file; the way to do that is<br>
documented in many places online. However, everything I've tried only<br>
seems to bind it to the KeyPress event. I haven't found any OpenBox- or<br>
LXDE-related discussion of KeyRelease bindings in documentation or<br>
online forums at all.<br>
<br>
If there is facility for KeyRelease bindings in OpenBox, I'd like to<br>
learn what it is, so I can use it. If there isn't, I'd like to ask if it<br>
could be added, for a future release. If not, I'll have to fall back on<br>
some non-OpenBox keybindings method to try to get this to work.<br>
<br>
- --<br>
   The Wanderer<br>
<br>
Secrecy is the beginning of tyranny.<br>
<br>
A government exists to serve its citizens, not to control them.<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
iQIcBAEBCgAGBQJTX7SkAAoJEASpNY00KDJrM/cQAKz9dt0ZkGO5Lv9SM//xsHN/<br>
5qKqx70xR8gDEq2XX8sjCzWel/1ziz8o3rkmnPU963a3yfWrJiLRxN16WFoPGhUs<br>
LNtJMvR/b2QfCZVwugrr7eeu03Z8ICInpc24AAVPFTNxFHS1l1BsiPjmIVJij7KP<br>
UIRJYMA5TL1pIIzn0A6/jmz+kP47x7BxfGBqhR7yl9qTRJE9NNUudj6w35qXav1h<br>
JyQ6f0u005ozi2seFCQI/ZWz2IfontEZbXJ/gDOixnPPYk9g1wL9PEBCoeIXLrOQ<br>
RVrwmADSx5Z/Wo7XAmX1LUYHoSi1RGWXoCAuWr0xHUu0dH/beKE3nvT4IXptng6k<br>
yqyCojdqxmqmE4yzmJluv55p/E9UIQxuvE8RewJSFvWxp4rLV6inJycc76y9vDvU<br>
Zx2t/8o4J4oFvc1FXJrPrrcLCj2SjKQKQ3jzHIjnR4CFo9zj2owhpUHd3/yqmgaU<br>
1463woopHl56YyHi92X7ddVlsTafb8aWQHLOFd/WNp32XiyxFwINoyTMMd09bubF<br>
5KYBlSd5hg6nhZlTWiX08AwnnFzAUBqjh9bpczeHdaKVjAba8fbNpCK5c0gRHYff<br>
wInfdzlzb1/XJclw9+7Q3sTMapUVC+dTfmISRTNfwnNy2ur2AoQYP8tvxtXP9Q0h<br>
k77WK1RGrnfF6TW7ZIhj<br>
=0C4K<br>
-----END PGP SIGNATURE-----<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>
</blockquote></div><br></div></div>