kbct
kbct copied to clipboard
[Bug] Menu key not registering?
Back when I was using X11 on this laptop, I could use this Xmodmap file to remap the right ctr key to the menu key:
keycode 105 = Menu
In kbct, my config yaml file looks like this:
# Apply this configuration to two keyboards (if connected)
- keyboards: [ "Lenovo TrackPoint Keyboard II", "AT Translated Set 2 keyboard"]
keymap:
rightctrl: menu
I can see that the rightctl key is being pressed and kbct is reporting that the menu key is pressed, except no right click menu ever appears. (I also tried replacing "menu" with "context_menu", but I've had no such luck. "context"menu" is reported in the debug, but no context menu appears)
➜ bin sudo RUST_BACKTRACE=1 ~/bin/kbct --debug-log remap --config ~/.config/kbct.yaml
INFO kbct > Starting kbct event loop, pid=8327
INFO kbct > Capturing device path=/dev/input/event3 name="AT Translated Set 2 keyboard" mapped_name="Kbct-AT Translated Set 2 keyboard"
DEBUG kbct > +rightctrl -> +menu
DEBUG kbct > -rightctrl -> -menu
DEBUG kbct > +leftctrl -> +leftctrl
DEBUG kbct > +c -> +c
Details: Fedora 36 KDE with Wayland Thinkpad T480 kbct v0.1.0