[openbox] On-key-release keybindings

The Wanderer wanderer at fastmail.fm
Wed Apr 30 09:12:06 EDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 04/30/2014 08:54 AM, Alexey Korop wrote:

> The Wanderer wrote on 29.04.2014 17:18:
> 
>> 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.
> 
> Unfortunately any X-based solution may conflicts with modifier using
> of the Win key.

Are you sure?

If you bind Super_L to an action currently, yes, it breaks W-* bindings;
the Super_L binding eats the KeyPress event, and the combo bindings
never see the modifier key.

However, I would intuitively expect that if you bind "Super_L
KeyRelease" to an action, but leave the W-* bindings alone, then since
nothing is bound to the KeyPress the W-* bindings would still be able to
see it - and if you don't press another key, but just release Super_L,
it would trigger the single-key binding.

If someone has done the work to create a KeyRelease binding, and
discovered that it doesn't work that way, I'd be interested to know it.
But so far I haven't found any indication that anyone has even tried.

- --
   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/

iQIcBAEBCgAGBQJTYPalAAoJEASpNY00KDJr2msQAIljsnkEtiziP+NePWUP8tsX
JXgVG/zDVNi7JxrZO9bplLRjk4xwhnZ58UWZX9G5KeIPeWgenfujcYRwQ0bSW3D7
SMwEj7j2MzKtULct4wtNuVyvBPIKTNuQPNyVWNI51eBXBUuMnYSmkjBKO/Zm6ggH
0i5MhOFuAe2ix7qgXBZvcknKpoW4KN/NvTFtl7OFfzYlSOihKh7/7C14TyZ2VjoY
3SNrLaQ9FuYW7kXM/AhzHLlRoYfEH5SFa0LQxn0kFbmKKNTazW/NA8I6sPHp3i0q
8acHOZhCEbThtMO7Ue0UP3F7bul/VdhlfxjA6VbZN3U2M/I+DF1CHIx/2oYiJQo/
U3ltp1sQx5Hi1yx1Y40lgvoy/MOXvKlV4wpQsBQg9uV3kaX7axBiVa/EG41BUZIs
g1oNA/QrA/bghxJPeTQ1toP/lE8RFGF4gFvuj9tHYY9CQUsDo1Qk1bvGjPPUwZgC
MkutQ1MeK9IcnKf+UA3gRolpSBhn6opo+N4RDwGlKioFH8YYDYmYP7mpVSbxsAHk
/CdnGRVDiGnMIWG4Sf+x9+nwvGgwdAwMoroVJ1TBtA7n0mKxT8tGh167iX9Ovfan
LZ8cbCEBIXns+97z92zfkktihyy+TpAymaIQJMYC62k8V/20+qB58vjmud10gJ7U
Hww8sXo4t5wlqiFPWq93
=vu+6
-----END PGP SIGNATURE-----


More information about the openbox mailing list