xSwipe
xSwipe copied to clipboard
3+ gestures produce characters in terminal
When the terminal (in Gnome) is used und I make a 3+ gesture, characters like A,B,C,D appear in the terminal. Only after this I can make the gesture again and then it does what it is supposed to do.
Please try to press key "alt + up" or "alt + down" or "alt + right" or "alt + left" on your terminal. You can see "A" or "B" or "C" or "D". These character are generated by terminal itself.
I had exactly the same issue.
The xSwipe script calls "PressKey" and "ReleaseKey" of X11::GuiTest. This seems to be unreliable, as sometimes one key is pressed but seems "dissociated" of the other keys pressed, producing a character in the terminal (despite the ReleaseKey is well called after PressKey for all keys).
I modified my version of xSwipe, so now the three-fingers swipe calls directly another function/script/whatever (wmctrl in my case, as I just want to change workspace). It's ugly but it works very well.
A patch of xSwipe to use something else than X11::GuiTest might be relevant.
Note: I tested also the "SendKeys" function of X11::GuiTest => same issue.