Created attachment 527666 [details]
output of xev -event keyboard
Easystroke, though seemingly abandoned upstream, still works quite well. Unfortunately it does not handle non-standard keyboard layouts properly.
I use the following configuration:
> Option "XkbLayout" "de,de"
> Option "XkbVariant" "neo,nodeadkeys"
> Option "XkbOptions" "grp:menu_toggle,grp_led:num"
Assume I have a key-gesture bound to Ctrl+W. "W" is on de-neo where "T" is on QWERTY. Then the following happens:
0. keyboard layout is "de-neo"
1. Input Ctrl+W gesture
Ctrl+T is send to application
Now keyboard layout is shown by wm as "us"
2. Input Ctrl+W gesture
Ctrl+W is send to application
Keyboard layout is still shown as "us"
3. Press some key
Key from de-neo layout is send
we are back at (0.)
The same happens when first switching to "de-nodeadkeys", but in (3.) the layout will still be switched to "de-neo".
Leaving out (2.) will not change what happens in (3.).
The tests where done with `xev -event keyboard`. I'll attach the output for the above sequence.
A similar bug report can be found here:
Also, there is a related commit here: