Anki won't open if i have a different keyboard layout with setxkbmap

Σ ~ ❯❯❯  anki
Python module pip_system_certs is not installed. System certificate store and custom SSL certificates may not work. See: https://github.com/ankitects/anki/issues/3016
Starting Anki 25.02.6...
2025-06-12 08:17:18,919:INFO:aqt.mediasrv: Serving on http://127.0.0.1:45907
Qt warning: GBM is not supported with the current configuration. Fallback to Vulkan rendering in Chromium.
xkbcommon: ERROR: [XKB-661] Couldn't process include statement for 'us(qwerty)'
xkbcommon: ERROR: [XKB-769] Abandoning symbols file "(unnamed map)"
xkbcommon: ERROR: Failed to compile xkb_symbols
xkbcommon: ERROR: [XKB-822] Failed to compile keymap
[1363:1400:0612/081719.376189:FATAL:xkb_keyboard_layout_engine.cc(661)] Keymap file failed to load: us,it,es-qwerty
zsh: trace trap  anki

Weird because when i just use the us layout, it works. But if i dare to use italian, spanish and dutch, it simply does not open.

Try updating Anki or the other steps listed at Troubleshooting - Anki Manual.

This has been reported before:

But it seems like an old issue. I’m seeing another report from Feb this year.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.