`nbsp:zwnj...` options cannot be applied
Applying the option nbsp:zwnj2nb3nnb4
and other zwnj options does not work:
setxkbmap -option nbsp:zwnj2nb3nnb4 -v 10
Setting verbose level to 10
locale is C
Trying to load rules file ./rules/evdev...
Trying to load rules file /usr/share/X11/xkb/rules/evdev...
Success.
Applied rules from evdev:
rules: evdev
model: pc104
layout: us
variant: intl-unicode
options: nbsp:zwnj2nb3nnb4,terminate:ctrl_alt_bksp,eurosign:e,caps:escape_shifted_capslock,keypad:future,shift:both_shiftlock,keypad:pointerkeys,nbsp:zwnj2nb3nnb4
Trying to build keymap using the following components:
keycodes: evdev+aliases(qwerty)
types: complete
compat: complete
symbols: pc+us(intl-unicode)+inet(evdev)+capslock(escape_shifted_capslock)+eurosign(e)+keypad(future)+terminate(ctrl_alt_bksp)+keypad(pointerkeys)+shift(both_shiftlock)
geometry: pc(pc104)
I stumbled upon this because setting that option in KDE Plasma results in a journal entry:
kwin_xkbcommon: XKB: Unrecognized RMLVO option "nbsp:zwnj2nb3nnb4" was ignored
I investigated the issue and after adding nbsp:zwnj2nb3nnb4 = +nbsp(zwnj2nb3nnb4)
to /usr/share/X11/xkb/rules/base
and /usr/share/X11/xkb/rules/evdev
the setxkbmap
-call correctly sets the option and libxkbcommon's interactive-x11
shows the correct key codes. Those rule files do not contain any of the other zwnj
rules and those don't work either for me, so I suppose they have to be added to the correct *.part
files?
Tested on libxkbcommon 0.9.1 / xkeyboard-config-2.28-1 / Fedora 31.