alols / xcape

Linux utility to configure modifier keys to act as other keys when pressed and released on their own.
GNU General Public License v3.0
2.1k stars 117 forks source link

xcape not tracking key presses in terminal on Ubuntu 20.04 #134

Closed theahura closed 2 years ago

theahura commented 2 years ago

Thanks for this tool. I've used it successfully on several ubuntu installs, and it's been a huge help for my workflow. I normally use xcape -e 'Control_L=Escape' while working on vim.

Recently, however, xcape stopped working in a terminal (including vim). Specifically, I am running

xcape -d -t 500 -e 'Control_L=Escape'

and running the terminal in another window. While typing this message out, I can actually see the debug working. I can even see the intercepted keys for caps lock:

image

But when I try to type in any terminal, I don't see any debug info being logged, much less the capslock. Not sure if this is a bug. Let me know if I can provide more information.

theahura commented 2 years ago

Never mind, looks like this is related to #67 -- I had switched to wayland, causing this weirdness.