X.org version: 1.21.1.7
Distribution: Kubuntu 23.04
I duplicated the included EIGHT_LEVEL_ALPHABETIC_LEVEL_FIVE_LOCK
type, inserted an additional level as Level1
, and shifted all existing levels by +1. The highest level was then Level9
. Running setxkbmap
(regardless of specified layout, since no xkb_symbols
uses this type) yields
Error loading new keyboard description
Then, if I comment out all references to Level9
in that type, it works.
Diff here: https://github.com/yue-dongchen/Neo2-QWERTY/commit/66097e14be4aa4012c8f54aaa4ff5739bd559327
Answer to my previous question — How many levels can XKB accomodate? — which quotes 63 levels from the XKB specification.
Edit: Though I suppose it doesn't really matter, since the layout I'm seeking to modify really only uses the former 7 levels. But it would still be nice to know if I encounter the need in future.