Sample Header Ad - 728x90

XKB spec says 63 levels max per type. For me it's 8. What am I doing wrong?

1 vote
1 answer
72 views
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.
Asked by Dongchen (43 rep)
Dec 13, 2023, 07:10 AM
Last activity: Dec 14, 2023, 01:00 PM