On-key-release keybindings

The Wanderer <[email protected]>
Newsgroups gmane.comp.window-managers.openbox
Organization This space intentionally left blank.
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Does OpenBox's keybindings facility provide any way to bind an action to
what xev reports as a KeyRelease event, rather than to KeyPress?


I'm experimenting with trying to produce a Linux UI which works as much
as possible like the standard Windows UI. I'm starting out with a base
of LXDE, which uses OpenBox. LXDE includes a Start-menu type of widget,
but does not bind it to the Win key by default.

In Windows XP (not sure about 7 yet), when you press the Win key, the
Start menu does not open immediately; it only opens when the key is
released. This is presumably so that multi-key Win+[other key] bindings
can work, without having the press of the Win key be eaten by the
single-key bind. (Also, this probably helps avoid having the Start menu
open briefly every time you try to use a Win+[other key] shortcut.)

I've successfully bound the Win key (Super_L) to the appropriate LXDE
menu command via the relevant OpenBox XML file; the way to do that is
documented in many places online. However, everything I've tried only
seems to bind it to the KeyPress event. I haven't found any OpenBox- or
LXDE-related discussion of KeyRelease bindings in documentation or
online forums at all.

If there is facility for KeyRelease bindings in OpenBox, I'd like to
learn what it is, so I can use it. If there isn't, I'd like to ask if it
could be added, for a future release. If not, I'll have to fall back on
some non-OpenBox keybindings method to try to get this to work.

- --
   The Wanderer

Secrecy is the beginning of tyranny.

A government exists to serve its citizens, not to control them.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCgAGBQJTX7SkAAoJEASpNY00KDJrM/cQAKz9dt0ZkGO5Lv9SM//xsHN/
5qKqx70xR8gDEq2XX8sjCzWel/1ziz8o3rkmnPU963a3yfWrJiLRxN16WFoPGhUs
LNtJMvR/b2QfCZVwugrr7eeu03Z8ICInpc24AAVPFTNxFHS1l1BsiPjmIVJij7KP
UIRJYMA5TL1pIIzn0A6/jmz+kP47x7BxfGBqhR7yl9qTRJE9NNUudj6w35qXav1h
JyQ6f0u005ozi2seFCQI/ZWz2IfontEZbXJ/gDOixnPPYk9g1wL9PEBCoeIXLrOQ
RVrwmADSx5Z/Wo7XAmX1LUYHoSi1RGWXoCAuWr0xHUu0dH/beKE3nvT4IXptng6k
yqyCojdqxmqmE4yzmJluv55p/E9UIQxuvE8RewJSFvWxp4rLV6inJycc76y9vDvU
Zx2t/8o4J4oFvc1FXJrPrrcLCj2SjKQKQ3jzHIjnR4CFo9zj2owhpUHd3/yqmgaU
1463woopHl56YyHi92X7ddVlsTafb8aWQHLOFd/WNp32XiyxFwINoyTMMd09bubF
5KYBlSd5hg6nhZlTWiX08AwnnFzAUBqjh9bpczeHdaKVjAba8fbNpCK5c0gRHYff
wInfdzlzb1/XJclw9+7Q3sTMapUVC+dTfmISRTNfwnNy2ur2AoQYP8tvxtXP9Q0h
k77WK1RGrnfF6TW7ZIhj
=0C4K
-----END PGP SIGNATURE-----
_______________________________________________
openbox mailing list
[email protected]
http://icculus.org/mailman/listinfo/openbox
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.