Closed haasn closed 1 year ago
Thank you for reporting this issue. I think this should be filed to xkeyboard-config
project, but let’s investigate a bit:
xkeyboard-config
are you using? Did you try to use an older one?<FK21>
works as you intended, or do you get XF86TouchpadToggle
?I think that it is probably due to inet
being included again right after your layout file, overwriting your changes.
Please copy the output of the following command (replacing the relevant values):
xkbcli compile-keymap --include <YOUR_CUSTOM_XKB_DIR> --include-defaults --layout <YOUR_LAYOUT_FILE> --verbose`
@haasn you could have linked the issue you filed xkeyboard-config.
Relevant info:
FK
keys are affected as well.I still do not know how you tested with xkbcommon in Wayland, nor with X11. xkbcommon is most probably not involved in X11 case, which leads me to think it is an issue with xkeyboard-config.
What is your configuration: OS, DE, versions?
As of writing:
How do you load your custom layout? You are using Wayland, so I suspect you are using user configuration.
On X.org, using setxkbmap ergodox
. On Wayland, using input type:keyboard { xkb_layout "ergodox" }
in sway config.
Do you use custom rules file?
I am not sure what this means, so probably not.
What version of xkeyboard-config are you using? Did you try to use an older one?
Tried 2.39, 2.38 and 2.36. None worked, even though 2.36 is older than the version I had the last time it worked. (I don't remember when, exactly, but it definitely worked no more than a year ago)
Does
works as you intended, or do you get XF86TouchpadToggle?
I get XF86TouchpadToggle
.
Please copy the output of the following command (replacing the relevant values):
I don't know where to file this bug report in the sea of interconnected projects, so please point me in the correct direction.
Summary
I use the following xkb keymap (see below). It contains this section:
In the past, pressing FK20 gave me a
Cyrillic_e
(э) letter. Since some time ago, however, pressing FK20 always gets mapped to XF86AudioMicMute.Demonstration
For example in xev:
Before (good):
After (bad):
From evtest:
So the key code is being sent correctly (as
KEY_F20
), it just gets incorrectly translated toXF86AudioMicMute
instead ofFK20
, ignoring my XKB keymap.Affected areas
This appears to affect both Wayland (testing with sway) and X11 (testing on bare WM without DE) equally.
Workaround
I can work around the issue by using
xmodmap -e 'keycode 198 = Cyrillic_e Cyrillic_E guillemotleft guillemotleft'
, however this is not portable nor a permanent fix as it does not work on Wayland. (Is there a Wayland replacement forxmodmap
by now?)The keymap in use
Click to show
``` xkb_symbols "ergodox" { name[group1]="ErgoDox (custom)"; include "pc+us(intl)+inet(evdev)+terminate(ctrl_alt_bksp)" override key