# Error index {#error-index}
This page lists the warnings and errors generated by xkbcommon.
There are currently 91 entries.
@todo The documentation of the log messages is a work in progress.
## Index {#error-code-list}
| Code | Identifier | Description | Type |
| --------- | ---------------------------- | ----------- | ---- |
| [XKB-021] | `deprecated-section` | XKB section is deprecated | Warning |
| [XKB-034] | `malformed-number-literal` | Warn on malformed number literals | Error |
| [XKB-043] | `conflicting-key-type-preserve-entries` | Conflicting “preserve” entries in a key type | Warning |
| [XKB-052] | `integer-overflow` | The result of the operation is not mathematically correct | Error |
| [XKB-060] | `unsupported-modifier-mask` | Unsupported modifier mask | Error |
| [XKB-077] | `expected-array-entry` | Expected an array entry, but the index is missing | Error |
| [XKB-082] | `invalid-numeric-keysym` | Invalid numeric keysym | Error |
| [XKB-101] | `illegal-keycode-alias` | Illegal keycode alias with the name of a real key | Warning |
| [XKB-107] | `unrecognized-keysym` | Warn on unrecognized keysyms | Warning |
| [XKB-123] | `undeclared-virtual-modifier` | A virtual modifier is used before being declared | Error |
| [XKB-134] | `insufficient-buffer-size` | A buffer has an insufficient size | Error |
| [XKB-150] | `wrong-statement-type` | The type of the statement is not allowed in the context | Error |
| [XKB-161] | `invalid-path` | The given path is invalid | Error |
| [XKB-172] | `unsupported-geometry-section` | Geometry sections are not supported | Warning |
| [XKB-183] | `cannot-infer-key-type` | Warn if no key type can be inferred | Warning |
| [XKB-193] | `invalid-escape-sequence` | Invalid escape sequence in a string | Warning |
| [XKB-195] | `illegal-key-type-preserve-result` | The result of a key type “preserve” entry must be a subset of its input modifiers. | Warning |
| [XKB-203] | `invalid-include-statement` | Syntax error in the include statement | Error |
| [XKB-206] | `invalid-modmap-entry` | A modmap entry is invalid | Error |
| [XKB-214] | `unsupported-layout-out-of-range-policy` | The given layout out-of-range policy is not supported | Error |
| [XKB-222] | `unknown-statement` | The statement is unknown | Error |
| [XKB-237] | `unsupported-layout-index` | Layout index is not supported | Error |
| [XKB-239] | `conflicting-key-type-level-names` | The name of a key type level is defined multiple times. | Warning |
| [XKB-254] | `invalid-set-default-statement` | Invalid statement setting default values | Error |
| [XKB-266] | `conflicting-key-type-map-entry` | Conflicting “map” entries in type definition | Warning |
| [XKB-277] | `unsupported-keymap-format` | Unsupported keymap format | Error |
| [XKB-282] | `unrecognized-rmlvo-value` | Unrecognized RMLVO value ignored | Error |
| [XKB-286] | `undefined-key-type` | Warn if using an undefined key type | Warning |
| [XKB-301] | `deprecated-keysym` | A keysym has been deprecated: consider using an alternative keysym | Warning |
| [XKB-302] | `deprecated-keysym-name` | A keysym name has been deprecated: use the corresponding canonical name instead | Warning |
| [XKB-305] | `non-base-group-name` | Warn if a group name was defined for group other than the first one | Warning |
| [XKB-312] | `unsupported-shift-level` | Warn when a shift level is not supported | Error |
| [XKB-338] | `included-file-not-found` | Could not find a file used in an include statement | Error |
| [XKB-345] | `unknown-operator` | Use of an operator that is unknown and thus unsupported | Error |
| [XKB-355] | `overlapping-overlay` | Overlapping overlays are not supported | Error |
| [XKB-362] | `unsupported-legacy-action` | Use of a legacy X11 action that is not supported | Warning |
| [XKB-366] | `layout-count-limit-exceeded` | Layout count limit exceeded for the corresponding keymap format | Error |
| [XKB-371] | `unsupported-a11y-flags` | Unsupported `xkb_a11y_flags` value | Error |
| [XKB-378] | `duplicate-entry` | An entry is duplicated and will be ignored | Warning |
| [XKB-386] | `recursive-include` | Included files form cycle | Error |
| [XKB-399] | `unexpected-state-mode` | A `xkb_state` object has an unexpected `xkb_state_mode` | Error |
| [XKB-407] | `conflicting-key-type-definitions` | Conflicting definitions of a key type | Warning |
| [XKB-428] | `global-defaults-wrong-scope` | A global defaults statement is in a wrong scope and should be moved | Error |
| [XKB-433] | `missing-default-section` | Missing default section in included file | Warning |
| [XKB-450] | `abi-invalid-struct-size` | ABI struct size check failed | Error |
| [XKB-453] | `invalid-modifier-map-mask` | Invalid real modifier mask in modifier map definition | Error |
| [XKB-461] | `conflicting-key-symbol` | Warn if there are conflicting keysyms while merging keys | Warning |
| [XKB-478] | `invalid-operation` | The operation is invalid in the context | Error |
| [XKB-489] | `numeric-keysym` | Warn on numeric keysym (other than 0-9) | Warning |
| [XKB-516] | `extra-symbols-ignored` | TODO: add description | Warning |
| [XKB-523] | `conflicting-key-name` | Conflicting definitions of a key name or alias | Warning |
| [XKB-542] | `invalid-file-encoding` | Invalid file encoding | Error |
| [XKB-550] | `allocation-failure` | Cannot allocate memory | Error |
| [XKB-563] | `invalid-action-field` | Unknown or unsupported action field | Error |
| [XKB-578] | `wrong-field-type` | Warn when a field has not the expected type | Error |
| [XKB-588] | `unsupported-overlay-index` | Overlay index is not in the supported range | Error |
| [XKB-595] | `cannot-resolve-rmlvo` | Cannot resolve a given (Rules, Model, Layout, Variant, Options) configuration | Error |
| [XKB-607] | `invalid-unicode-escape-sequence` | Invalid Unicode escape sequence | Warning |
| [XKB-623] | `invalid-real-modifier` | Invalid _real_ modifier | Error |
| [XKB-632] | `no-valid-default-include-path` | Unable to add any default include path | Error |
| [XKB-639] | `unknown-default-field` | Cannot set default value to a an unknown field | Error |
| [XKB-645] | `unknown-char-escape-sequence` | Warn on unknown escape sequence in string literal | Warning |
| [XKB-661] | `invalid-included-file` | The target file of an include statement could not be processed | Error |
| [XKB-679] | `invalid-compose-locale` | Invalid locale for Compose | Error |
| [XKB-685] | `invalid-compose-syntax` | The Compose file syntax is invalid and the entry cannot be parsed | Error |
| [XKB-693] | `incompatible-actions-and-keysyms-count` | A level has a different number of keysyms and actions | Error |
| [XKB-700] | `multiple-groups-at-once` | Warn if a key defines multiple groups at once | Warning |
| [XKB-711] | `unsupported-symbols-field` | A legacy X11 symbol field is not supported | Warning |
| [XKB-742] | `incompatible-keymap-text-format` | The keymap has features unsupported in the target format | Error |
| [XKB-762] | `rules-invalid-layout-index-percent-expansion` | Cannot expand `%%i`: missing layout or variant in MLVO rule fields | Error |
| [XKB-769] | `invalid-xkb-syntax` | The XKB syntax is invalid and the file cannot be parsed | Error |
| [XKB-770] | `undefined-keycode` | Reference to an undefined keycode | Warning |
| [XKB-784] | `invalid-expression-type` | An expression has not the expected type | Error |
| [XKB-796] | `invalid-value` | A value is invalid and will be ignored | Error |
| [XKB-800] | `conflicting-modmap` | Warn if there are conflicting modmap definitions | Warning |
| [XKB-812] | `unknown-field` | A field is unknown and will be ignored | Error |
| [XKB-822] | `keymap-compilation-failed` | Keymap compilation failed | Error |
| [XKB-829] | `unsupported-keymap-serialization-flags` | Unsupported keymap serialization flags | Error |
| [XKB-844] | `unknown-action-type` | Unknown action type | Error |
| [XKB-876] | `abi-forward-compat` | ABI forward-compatibility check failed | Error |
| [XKB-883] | `conflicting-key-action` | Warn if there are conflicting actions while merging keys | Warning |
| [XKB-893] | `conflicting-key-type-merging-groups` | Warn if there are conflicting key types while merging groups | Warning |
| [XKB-901] | `conflicting-key-symbols-entry` | Conflicting symbols entry for a key | Error |
| [XKB-903] | `missing-symbols-group-name-index` | Missing group index in a group name entry | Warning |
| [XKB-914] | `abi-backward-compat` | ABI backward-compatibility check failed | Error |
| [XKB-917] | `unknown-section-flag` | Invalid section flag | Error |
| [XKB-935] | `conflicting-key-fields` | Warn if there are conflicting fields in the key definition or while merging keys | Warning |
| [XKB-949] | `invalid-identifier` | An identifier is used but is not built-in | Error |
| [XKB-965] | `unresolved-keymap-symbol` | Warn if using a symbol not defined in the keymap | Warning |
| [XKB-967] | `invalid-rules-syntax` | The rules syntax is invalid and the file cannot be parsed | Error |
| [XKB-971] | `undeclared-modifiers-in-key-type` | Some modifiers used in a key type “map” or “preserve” entry are not declared | Warning |
## Details
### XKB-021 – Deprecated section {#XKB-021}
- Since
- 1.14.0
- Type
- Warning
- Summary
- XKB section is deprecated
### XKB-034 – Malformed number literal {#XKB-034}
- Since
- 1.0.0
- Type
- Error
- Summary
- Warn on malformed number literals
xkbcommon can parse the following number literal formats:
- *decimal integer:* 1, 123, etc.
- *decimal floating-point number:* 1.23, etc.
- *hexadecimal integer:* prefixed with “0x”: 0x123, 0xff, 0xAB, etc.
### XKB-043 – Conflicting key type preserve entries {#XKB-043}
- Since
- 1.0.0
- Type
- Warning
- Summary
- Conflicting “preserve” entries in a key type
### XKB-052 – Integer overflow {#XKB-052}
- Since
- 1.10.0
- Type
- Error
- Summary
- The result of the operation is not mathematically correct
The result of the operation is not representable in the corresponding
datatype and overflowed.
### XKB-060 – Unsupported modifier mask {#XKB-060}
- Since
- 1.0.0
- Type
- Error
- Summary
- Unsupported modifier mask
The modifier mask does not represent valid modifiers.
### XKB-077 – Expected array entry {#XKB-077}
- Since
- 1.0.0
- Type
- Error
- Summary
- Expected an array entry, but the index is missing
### XKB-082 – Invalid numeric keysym {#XKB-082}
- Since
- 1.0.0
- Type
- Error
- Summary
- Invalid numeric keysym
Keysyms are 32-bit integers with the 3 most significant bits always set to
zero. Thus valid keysyms are in the range `0 .. 0x1fffffff` = @ref XKB_KEYSYM_MAX.
See: Appendix A [“KEYSYM Encoding”][encoding] of the X Window System Protocol.
[encoding]: https://www.x.org/releases/current/doc/xproto/x11protocol.html#keysym_encoding
@see keysyms
### XKB-101 – Illegal keycode alias {#XKB-101}
- Since
- 1.0.0
- Type
- Warning
- Summary
- Illegal keycode alias with the name of a real key
### XKB-107 – Unrecognized keysym {#XKB-107}
- Since
- 1.0.0
- Type
- Warning
- Summary
- Warn on unrecognized keysyms
xkbcommon replaces keysyms it does not recognize by the keysym `NoSymbol`.
You may find the list of supported keysyms in
`include/xkbcommon/xkbcommon-keysyms.h`.
#### Examples
Unrecognized keysym “`coma`”
**Error message:**
```
xkbcommon: WARNING: [XKB-107] de:31:20: unrecognized keysym "coma"
```
xkbcommon does not recognize the keysym “`coma`”. It is most probably
a typo for “comma”.
See: `XKB_KEY_comma` in `include/xkbcommon/xkbcommon-keysyms.h`.
**Fix:**
Before
```c
key
{[ coma, semicolon, periodcentered, multiply ]};
```
After
```c
key
{[ comma, semicolon, periodcentered, multiply ]};
```
### XKB-123 – Undeclared virtual modifier {#XKB-123}
- Since
- 1.0.0
- Type
- Error
- Summary
- A virtual modifier is used before being declared
### XKB-134 – Insufficient buffer size {#XKB-134}
- Since
- 1.0.0
- Type
- Error
- Summary
- A buffer has an insufficient size
### XKB-150 – Wrong statement type {#XKB-150}
- Since
- 1.0.0
- Type
- Error
- Summary
- The type of the statement is not allowed in the context
### XKB-161 – Invalid path {#XKB-161}
- Since
- 1.0.0
- Type
- Error
- Summary
- The given path is invalid
### XKB-172 – Unsupported geometry section {#XKB-172}
- Since
- 1.0.0
- Type
- Warning
- Summary
- Geometry sections are not supported
### XKB-183 – Cannot infer key type {#XKB-183}
- Since
- 1.0.0
- Type
- Warning
- Summary
- Warn if no key type can be inferred
### XKB-193 – Invalid escape sequence {#XKB-193}
- Since
- 1.0.0
- Type
- Warning
- Summary
- Invalid escape sequence in a string
### XKB-195 – Illegal key type preserve result {#XKB-195}
- Since
- 1.0.0
- Type
- Warning
- Summary
- The result of a key type “preserve” entry must be a subset of its input modifiers.
### XKB-203 – Invalid include statement {#XKB-203}
- Since
- 1.0.0
- Type
- Error
- Summary
- Syntax error in the include statement
### XKB-206 – Invalid modmap entry {#XKB-206}
- Since
- 1.0.0
- Type
- Error
- Summary
- A modmap entry is invalid
### XKB-214 – Unsupported layout out of range policy {#XKB-214}
- Since
- 1.14.0
- Type
- Error
- Summary
- The given layout out-of-range policy is not supported
Use the following to check if the linked libxkbcommon library supports a given flag:
```c
xkb_feature_supported(XKB_FEATURE_ENUM_LAYOUT_OUT_OF_RANGE_POLICY, flag)
```
### XKB-222 – Unknown statement {#XKB-222}
- Since
- 1.14.0
- Type
- Error
- Summary
- The statement is unknown
libxkbcommon encountered an unknown statement and either:
- rejected it (strict mode);
- accepted but discarded it in order to provide forward-compatibility (lenient mode).
Please check if:
- it is a typo;
- the [keymap format](@ref xkb_keymap_format) used for parsing is correct;
- the statement is supported in a [newer version of libxkbcommon](release-notes.md).
### XKB-237 – Unsupported layout index {#XKB-237}
- Since
- 1.0.0
- Type
- Error
- Summary
- Layout index is not supported
libxkbcommon supports different *layout index* ranges, depending on the target
*keymap format*:
- `::XKB_KEYMAP_FORMAT_TEXT_V1`: 1..4
- `::XKB_KEYMAP_FORMAT_TEXT_V2`: 1..32
### XKB-239 – Conflicting key type level names {#XKB-239}
- Since
- 1.0.0
- Type
- Warning
- Summary
- The name of a key type level is defined multiple times.
### XKB-254 – Invalid set default statement {#XKB-254}
- Since
- 1.0.0
- Type
- Error
- Summary
- Invalid statement setting default values
### XKB-266 – Conflicting key type map entry {#XKB-266}
- Since
- 1.0.0
- Type
- Warning
- Summary
- Conflicting “map” entries in type definition
### XKB-277 – Unsupported keymap format {#XKB-277}
- Since
- 1.0.0
- Type
- Error
- Summary
- Unsupported keymap format
See `xkb_keymap_format` for the list of valid values.
### XKB-282 – Unrecognized rmlvo value {#XKB-282}
- Since
- 1.0.0
- Type
- Error
- Summary
- Unrecognized RMLVO value ignored
The corresponding [RMLVO] value did not match any [rule][rules] and was ignored,
possibly resulting in an *incomplete layout*.
This may be:
- An issue with the [RMLVO] value not being in sync with the XKB database.
Updating the keyboard settings should fix it.
- An issue with the rules:
- If using *custom* XKB files, please check that you followed the
[corresponding instructions](@ref custom-configuration).
E.g. custom *options* requires a [dedicated entry](@ref custom-option).
- If using the *standard* rules, please file a bug report to the
[xkeyboard-config] project.
[RMLVO]: @ref RMLVO-intro
[xkeyboard-config]: https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config
[rules]: @ref config-rules-def
### XKB-286 – Undefined key type {#XKB-286}
- Since
- 1.0.0
- Type
- Warning
- Summary
- Warn if using an undefined key type
### XKB-301 – Deprecated keysym {#XKB-301}
- Since
- 1.8.0
- Type
- Warning
- Summary
- A keysym has been deprecated: consider using an alternative keysym
Some keysyms have ambiguous meaning. It is advised to migrate to an alternative keysym
if possible, as deprecated keysyms may be removed in the future. Consider using Unicode
keysyms (`Unnnn`) if relevant.
### XKB-302 – Deprecated keysym name {#XKB-302}
- Since
- 1.8.0
- Type
- Warning
- Summary
- A keysym name has been deprecated: use the corresponding canonical name instead
Some keysym names have typos, unconventional names or are historical aliases.
Please consider migrating to the reference name reported in the warning message.
### XKB-305 – Non base group name {#XKB-305}
- Since
- 1.0.0
- Type
- Warning
- Summary
- Warn if a group name was defined for group other than the first one
### XKB-312 – Unsupported shift level {#XKB-312}
- Since
- 1.0.0
- Type
- Error
- Summary
- Warn when a shift level is not supported
Shift levels are _one_-indexed. xkbcommon supports two formats of shift levels:
as numbers and as identifiers `LevelN`, where `N` is in the range (1..8).
### XKB-338 – Included file not found {#XKB-338}
- Since
- 1.0.0
- Type
- Error
- Summary
- Could not find a file used in an include statement
### XKB-345 – Unknown operator {#XKB-345}
- Since
- 1.0.0
- Type
- Error
- Summary
- Use of an operator that is unknown and thus unsupported
### XKB-355 – Overlapping overlay {#XKB-355}
- Since
- 1.14.0
- Type
- Error
- Summary
- Overlapping overlays are not supported
[Overlays] must be *disjoint* in target keymap format: a key can have
*at most one* overlay. See “[overlapping overlay]” for further information.
[Overlays]: @ref key-behavior-overlay
[overlapping overlay]: @ref overlapping-overlays
### XKB-362 – Unsupported legacy action {#XKB-362}
- Since
- 1.10.0
- Type
- Warning
- Summary
- Use of a legacy X11 action that is not supported
This action will be treated as `NoAction()`. See @ref unsupported-legacy-x11-actions ""
for further information.
### XKB-366 – Layout count limit exceeded {#XKB-366}
- Since
- 1.0.0
- Type
- Error
- Summary
- Layout count limit exceeded for the corresponding keymap format
### XKB-371 – Unsupported a11y flags {#XKB-371}
- Since
- 1.14.0
- Type
- Error
- Summary
- Unsupported `xkb_a11y_flags` value
Use the following to check if the linked libxkbcommon library supports a given flag:
```c
xkb_feature_supported(XKB_FEATURE_ENUM_A11Y_FLAGS, flag)
```
### XKB-378 – Duplicate entry {#XKB-378}
- Since
- 1.0.0
- Type
- Warning
- Summary
- An entry is duplicated and will be ignored
### XKB-386 – Recursive include {#XKB-386}
- Since
- 1.7.0
- Type
- Error
- Summary
- Included files form cycle
### XKB-399 – Unexpected state mode {#XKB-399}
- Since
- 1.14.0
- Type
- Error
- Summary
- A `xkb_state` object has an unexpected `xkb_state_mode`
### XKB-407 – Conflicting key type definitions {#XKB-407}
- Since
- 1.0.0
- Type
- Warning
- Summary
- Conflicting definitions of a key type
The given key type is defined multiple times, but only one definition is kept.
### XKB-428 – Global defaults wrong scope {#XKB-428}
- Since
- 1.0.0
- Type
- Error
- Summary
- A global defaults statement is in a wrong scope and should be moved
#### Examples
Default key type in key statement
**Error message:**
```
xkbcommon: ERROR: [XKB-428] Cannot set global defaults for "type" element
within a key statement: move statements to the global file scope.
Assignment to "key.type" ignored.
```
**Fix:**
Before
```c
key
{
key.type = "FOUR_LEVEL_SEMIALPHABETIC",
symbols = [q, Q, at]
};
```
After
```c
// Either put default key type in global file scope
key.type = "FOUR_LEVEL_SEMIALPHABETIC";
key
{ [q, Q, at] };
// or use a local setting (unqualified, i.e. without `key.`)
key {
type = "FOUR_LEVEL_SEMIALPHABETIC",
symbols = [ q, Q, at ]
};
```
### XKB-433 – Missing default section {#XKB-433}
- Since
- 1.0.0
- Type
- Warning
- Summary
- Missing default section in included file
When using an include statement, the included file may contains multiple sections.
The include statement may specify the name of the section to include, or leave it
unspecified. In the latter case, the included file must then define a *default* section.
The present warning is shown when no default section is defined.
To solve this, either fix the include statement by specifying the exact section to
include, or declare a default section in the included file.
### XKB-450 – Abi invalid struct size {#XKB-450}
- Since
- 1.14.0
- Type
- Error
- Summary
- ABI struct size check failed
The `size` field of a versioned structure does not match any known
version of that structure. This typically indicates the caller failed
to initialize the struct correctly, e.g. by omitting:
```c
.size = sizeof(struct xkb_foo)
```
### XKB-453 – Invalid modifier map mask {#XKB-453}
- Since
- 1.14.0
- Type
- Error
- Summary
- Invalid real modifier mask in modifier map definition
- Parsing
-
`::XKB_KEYMAP_FORMAT_TEXT_V1` allows only a *single* X11 core modifier
per [`modifier_map`](@ref modmap-statement) entry.
- Serializing
-
`::XKB_KEYMAP_FORMAT_TEXT_V1` allows only X11 core modifiers and can
serialize multiple X11 core modifiers only if some of the original
[`modifier_map`](@ref modmap-statement) entries used a keysym.
### XKB-461 – Conflicting key symbol {#XKB-461}
- Since
- 1.0.0
- Type
- Warning
- Summary
- Warn if there are conflicting keysyms while merging keys
### XKB-478 – Invalid operation {#XKB-478}
- Since
- 1.0.0
- Type
- Error
- Summary
- The operation is invalid in the context
### XKB-489 – Numeric keysym {#XKB-489}
- Since
- 1.6.0
- Type
- Warning
- Summary
- Warn on numeric keysym (other than 0-9)
Numeric keysyms are not human-friendly. Use the corresponding named keysym
or Unicode keysym, if available.
#### Examples
Hexadecimal keysym `0x1001ed0`
**Error message:**
```
xkbcommon: WARNING: [XKB-489] numeric keysym "0x1001ed0"
```
**Fix:**
Before
```c
key
{ [ 0x1001ed0] };
```
After
```c
// Preferred form: human-friendly
key
{ [ Ocircumflexacute ] };
// or
key { [ U1ED0 ] };
```
### XKB-516 – Extra symbols ignored {#XKB-516}
- Since
- 1.0.0
- Type
- Warning
- Summary
- TODO: add description
### XKB-523 – Conflicting key name {#XKB-523}
- Since
- 1.0.0
- Type
- Warning
- Summary
- Conflicting definitions of a key name or alias
### XKB-542 – Invalid file encoding {#XKB-542}
- Since
- 1.7.0
- Type
- Error
- Summary
- Invalid file encoding
### XKB-550 – Allocation failure {#XKB-550}
- Since
- 1.0.0
- Type
- Error
- Summary
- Cannot allocate memory
### XKB-563 – Invalid action field {#XKB-563}
- Since
- 1.0.0
- Type
- Error
- Summary
- Unknown or unsupported action field
### XKB-578 – Wrong field type {#XKB-578}
- Since
- 1.0.0
- Type
- Error
- Summary
- Warn when a field has not the expected type
### XKB-588 – Unsupported overlay index {#XKB-588}
- Since
- 1.14.0
- Type
- Error
- Summary
- Overlay index is not in the supported range
### XKB-595 – Cannot resolve rmlvo {#XKB-595}
- Since
- 1.0.0
- Type
- Error
- Summary
- Cannot resolve a given (Rules, Model, Layout, Variant, Options) configuration
### XKB-607 – Invalid unicode escape sequence {#XKB-607}
- Since
- 1.9.0
- Type
- Warning
- Summary
- Invalid Unicode escape sequence
xkbcommon support the Unicode sequence `\u{NNNN}`, where `NNNN` denotes a
Unicode code point in hexadecimal format in the range `1‥0x10ffff`.
### XKB-623 – Invalid real modifier {#XKB-623}
- Since
- 1.0.0
- Type
- Error
- Summary
- Invalid _real_ modifier
### XKB-632 – No valid default include path {#XKB-632}
- Since
- 1.13.0
- Type
- Error
- Summary
- Unable to add any default include path
xkbcommon requires to define at least one include path in order to look up
XKB files. See @ref include-path "" for further details.
### XKB-639 – Unknown default field {#XKB-639}
- Since
- 1.10.0
- Type
- Error
- Summary
- Cannot set default value to a an unknown field
### XKB-645 – Unknown char escape sequence {#XKB-645}
- Since
- 1.0.0
- Type
- Warning
- Summary
- Warn on unknown escape sequence in string literal
xkbcommon support the following escape sequences in string literals:
| Escape sequence | Corresponding character |
| --------------- | ---------------------------------------------------------- |
| `\b` | `U+0008` Backspace |
| `\t` | `U+0009` Character tabulation |
| `\n` | `U+000A` Line feed |
| `\v` | `U+000B` Vertical tabulation |
| `\f` | `U+000C` Form feed |
| `\r` | `U+000D` Carriage return |
| `\e` | `U+001B` Escape |
| `\\` | `U+005C` Backslash |
| `\"` | `U+0022` Double quote |
| `\NNNN` | _Octal_ escape, `NNNN` in range `1‥0o377` |
| `\u{NNNN}` | _Unicode_ hexadecimal escape, `NNNN` in range `1‥0x10ffff` |
### XKB-661 – Invalid included file {#XKB-661}
- Since
- 1.0.0
- Type
- Error
- Summary
- The target file of an include statement could not be processed
### XKB-679 – Invalid compose locale {#XKB-679}
- Since
- 1.12.0
- Type
- Error
- Summary
- Invalid locale for Compose
The locale is either invalid (not installed on the system) or not registered
in the X11 Compose registry.
### XKB-685 – Invalid compose syntax {#XKB-685}
- Since
- 1.0.0
- Type
- Error
- Summary
- The Compose file syntax is invalid and the entry cannot be parsed
### XKB-693 – Incompatible actions and keysyms count {#XKB-693}
- Since
- 1.8.0
- Type
- Error
- Summary
- A level has a different number of keysyms and actions
A level must have exactly the same number of keysyms and actions.
### XKB-700 – Multiple groups at once {#XKB-700}
- Since
- 1.0.0
- Type
- Warning
- Summary
- Warn if a key defines multiple groups at once
### XKB-711 – Unsupported symbols field {#XKB-711}
- Since
- 1.0.0
- Type
- Warning
- Summary
- A legacy X11 symbol field is not supported
### XKB-742 – Incompatible keymap text format {#XKB-742}
- Since
- 1.11.0
- Type
- Error
- Summary
- The keymap has features unsupported in the target format
See @ref keymap-support "" for further details.
### XKB-762 – Rules invalid layout index percent expansion {#XKB-762}
- Since
- 1.11.0
- Type
- Error
- Summary
- Cannot expand `%%i`: missing layout or variant in MLVO rule fields
In a @ref rule-file-format "rules file", `%%i` denotes the index of the
matched layout. It can only be used in the [KcCGST] value of the rule if the
layout or variant is defined in the [MLVO] fields of the rule header.
Otherwise the rule is always discarded.
To fix the error, either remove the `:%%i` specifier or add a the relevant
[MLVO] field, e.g. `layout[any]`.
[KcCGST]: @ref KcCGST-intro
[MLVO]: @ref RMLVO-intro
### XKB-769 – Invalid xkb syntax {#XKB-769}
- Since
- 1.0.0
- Type
- Error
- Summary
- The XKB syntax is invalid and the file cannot be parsed
See @ref keymap-text-format-v1-v2 "" for further details.
### XKB-770 – Undefined keycode {#XKB-770}
- Since
- 1.0.0
- Type
- Warning
- Summary
- Reference to an undefined keycode
### XKB-784 – Invalid expression type {#XKB-784}
- Since
- 1.0.0
- Type
- Error
- Summary
- An expression has not the expected type
### XKB-796 – Invalid value {#XKB-796}
- Since
- 1.0.0
- Type
- Error
- Summary
- A value is invalid and will be ignored
### XKB-800 – Conflicting modmap {#XKB-800}
- Since
- 1.0.0
- Type
- Warning
- Summary
- Warn if there are conflicting modmap definitions
@todo detailed explanation and examples
### XKB-812 – Unknown field {#XKB-812}
- Since
- 1.0.0
- Type
- Error
- Summary
- A field is unknown and will be ignored
### XKB-822 – Keymap compilation failed {#XKB-822}
- Since
- 1.0.0
- Type
- Error
- Summary
- Keymap compilation failed
### XKB-829 – Unsupported keymap serialization flags {#XKB-829}
- Since
- 1.12.0
- Type
- Error
- Summary
- Unsupported keymap serialization flags
See `::xkb_keymap_serialize_flags` for the list of valid flags.
### XKB-844 – Unknown action type {#XKB-844}
- Since
- 1.0.0
- Type
- Error
- Summary
- Unknown action type
See @ref key-actions "" for the list of supported actions.
### XKB-876 – Abi forward compat {#XKB-876}
- Since
- 1.14.0
- Type
- Error
- Summary
- ABI forward-compatibility check failed
The caller was compiled against a newer version of the library and is
using fields unknown to this version.
### XKB-883 – Conflicting key action {#XKB-883}
- Since
- 1.0.0
- Type
- Warning
- Summary
- Warn if there are conflicting actions while merging keys
### XKB-893 – Conflicting key type merging groups {#XKB-893}
- Since
- 1.0.0
- Type
- Warning
- Summary
- Warn if there are conflicting key types while merging groups
### XKB-901 – Conflicting key symbols entry {#XKB-901}
- Since
- 1.0.0
- Type
- Error
- Summary
- Conflicting symbols entry for a key
### XKB-903 – Missing symbols group name index {#XKB-903}
- Since
- 1.0.0
- Type
- Warning
- Summary
- Missing group index in a group name entry
### XKB-914 – Abi backward compat {#XKB-914}
- Since
- 1.14.0
- Type
- Error
- Summary
- ABI backward-compatibility check failed
The caller was compiled against an older version of the library and is
missing fields that are mandatory in this version.
### XKB-917 – Unknown section flag {#XKB-917}
- Since
- 1.14.0
- Type
- Error
- Summary
- Invalid section flag
See the list of valid [section flags](@ref section-flags-def).
### XKB-935 – Conflicting key fields {#XKB-935}
- Since
- 1.0.0
- Type
- Warning
- Summary
- Warn if there are conflicting fields in the key definition or while merging keys
### XKB-949 – Invalid identifier {#XKB-949}
- Since
- 1.0.0
- Type
- Error
- Summary
- An identifier is used but is not built-in
### XKB-965 – Unresolved keymap symbol {#XKB-965}
- Since
- 1.0.0
- Type
- Warning
- Summary
- Warn if using a symbol not defined in the keymap
### XKB-967 – Invalid rules syntax {#XKB-967}
- Since
- 1.0.0
- Type
- Error
- Summary
- The rules syntax is invalid and the file cannot be parsed
See @ref rule-file-format "" for further information.
### XKB-971 – Undeclared modifiers in key type {#XKB-971}
- Since
- 1.0.0
- Type
- Warning
- Summary
- Some modifiers used in a key type “map” or “preserve” entry are not declared
The modifiers used in `map` or `preserve` entries should be declared using the entry
`modifiers` in the key type.
[XKB-021]: @ref XKB-021
[XKB-034]: @ref XKB-034
[XKB-043]: @ref XKB-043
[XKB-052]: @ref XKB-052
[XKB-060]: @ref XKB-060
[XKB-077]: @ref XKB-077
[XKB-082]: @ref XKB-082
[XKB-101]: @ref XKB-101
[XKB-107]: @ref XKB-107
[XKB-123]: @ref XKB-123
[XKB-134]: @ref XKB-134
[XKB-150]: @ref XKB-150
[XKB-161]: @ref XKB-161
[XKB-172]: @ref XKB-172
[XKB-183]: @ref XKB-183
[XKB-193]: @ref XKB-193
[XKB-195]: @ref XKB-195
[XKB-203]: @ref XKB-203
[XKB-206]: @ref XKB-206
[XKB-214]: @ref XKB-214
[XKB-222]: @ref XKB-222
[XKB-237]: @ref XKB-237
[XKB-239]: @ref XKB-239
[XKB-254]: @ref XKB-254
[XKB-266]: @ref XKB-266
[XKB-277]: @ref XKB-277
[XKB-282]: @ref XKB-282
[XKB-286]: @ref XKB-286
[XKB-301]: @ref XKB-301
[XKB-302]: @ref XKB-302
[XKB-305]: @ref XKB-305
[XKB-312]: @ref XKB-312
[XKB-338]: @ref XKB-338
[XKB-345]: @ref XKB-345
[XKB-355]: @ref XKB-355
[XKB-362]: @ref XKB-362
[XKB-366]: @ref XKB-366
[XKB-371]: @ref XKB-371
[XKB-378]: @ref XKB-378
[XKB-386]: @ref XKB-386
[XKB-399]: @ref XKB-399
[XKB-407]: @ref XKB-407
[XKB-428]: @ref XKB-428
[XKB-433]: @ref XKB-433
[XKB-450]: @ref XKB-450
[XKB-453]: @ref XKB-453
[XKB-461]: @ref XKB-461
[XKB-478]: @ref XKB-478
[XKB-489]: @ref XKB-489
[XKB-516]: @ref XKB-516
[XKB-523]: @ref XKB-523
[XKB-542]: @ref XKB-542
[XKB-550]: @ref XKB-550
[XKB-563]: @ref XKB-563
[XKB-578]: @ref XKB-578
[XKB-588]: @ref XKB-588
[XKB-595]: @ref XKB-595
[XKB-607]: @ref XKB-607
[XKB-623]: @ref XKB-623
[XKB-632]: @ref XKB-632
[XKB-639]: @ref XKB-639
[XKB-645]: @ref XKB-645
[XKB-661]: @ref XKB-661
[XKB-679]: @ref XKB-679
[XKB-685]: @ref XKB-685
[XKB-693]: @ref XKB-693
[XKB-700]: @ref XKB-700
[XKB-711]: @ref XKB-711
[XKB-742]: @ref XKB-742
[XKB-762]: @ref XKB-762
[XKB-769]: @ref XKB-769
[XKB-770]: @ref XKB-770
[XKB-784]: @ref XKB-784
[XKB-796]: @ref XKB-796
[XKB-800]: @ref XKB-800
[XKB-812]: @ref XKB-812
[XKB-822]: @ref XKB-822
[XKB-829]: @ref XKB-829
[XKB-844]: @ref XKB-844
[XKB-876]: @ref XKB-876
[XKB-883]: @ref XKB-883
[XKB-893]: @ref XKB-893
[XKB-901]: @ref XKB-901
[XKB-903]: @ref XKB-903
[XKB-914]: @ref XKB-914
[XKB-917]: @ref XKB-917
[XKB-935]: @ref XKB-935
[XKB-949]: @ref XKB-949
[XKB-965]: @ref XKB-965
[XKB-967]: @ref XKB-967
[XKB-971]: @ref XKB-971