xremap: Trackpad pointer and enter button are not working when xremap is running
I have this weird bug when I run xremap: both the trackpad pointer and the enter button stop working. I have tried with both sudo and without it, and the result is the same. I can confirm that xremap reports that only the device it is capturing is the keyboard. As soon as I stop xremap the enter button start working again. While for the mouse pointer, it usually start working again when I open new windows. I have also tried with --device
but with no luck. I am using sway on openSUSE Tumbleweed currently.
I have tried plugging another external keyboard, and the enter buttons stop working for each keyboard, regardless of --device
selected.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 4
- Comments: 23 (10 by maintainers)
Thank you for confirming it. I’ll be busy in the coming few weeks, but I plan to work on fixing it using the VM that reproduced the issue after that. I appreciate your patience.
I can reproduce the behavior. When starting xremap the enter key is hitted a lot of times and fills the whole terminal. Also the trackpoint is not working anymore even after killing xremap. However when I run it with --device touchpad it starts working again. When I select both devices the problem is the same as when just choosing the translated keyboard. I am on debian 11 gnome wayland.
This is a late update because I haven’t used my laptop in a lot of time.
I have just updated xremap to the latest version (0.8.12) and this issue has since disappeared. Something in the update fixed it, because it was still reproducible with the old version (0.4.2).
Thank you for the awesome work!!
I’m running into this too, and the
sleep 1
workaround suggested by @rsuu is (somehow) working.If you use a systemctl service to load
xremap
like I do, you can add anExecStartPre
to sleep:Looking at the ungrab/grab errors, I’m not sure if it’s the same issue as the one I reproduced, but the current state is still the same as https://github.com/k0kubun/xremap/issues/105#issuecomment-1146734058. I cannot work on this until I get to.
Yes, if I use watch it continues running even without selecting a device. The issue discussed only happen when xremap has a device selected (either automatically or via --device).
The same issues happen.