Keyboard layout switching problem after upgrading debian template

2 views
Skip to first unread message

Vitali Andrusevich

unread,
Nov 11, 2025, 4:15:03 AM (9 days ago) Nov 11
to qubes-users
Hello everyone.

I have a problem after manual upgrade from debian-12 to debian-13.

Keyboard language switching doesn't work anymore in debian-13.
Both templates have "qubesdb-watch /keyboard-layout" running,
but appvms based on new template just fail to switch languages.


Regards,
Vitali




Vitali Andrusevich

unread,
Nov 11, 2025, 5:18:09 AM (9 days ago) Nov 11
to qubes...@googlegroups.com
I add more details here.

I run i3 as WM.

my keyboard layout is switching via xorg mechanism

dom0 has a file /etc/X11/xorg.conf.d/00-keyboard.conf:

Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "us,ru"
Option "XkbModel" "pc105"
Option "XkbOptions" "grp:caps_toggle"
EndSection


Debian-12 template and its appvms do not have any special settings for
keyboard layout switching. It just inherits dom0 settings.

So, if i switch keyboard layout (being in debian-12 appvm context) - it
switches current keyboard layout (for this appvm) and for dom0 as well.

if i am switching it within dom0 - this switch works only for dom0.
This was ok for me.

But appvms based on debian-13 seem completely ignore global dom0 xorg
layout switching settings and keyboard layout is not switching at all.
not for appvm context and not from dom0.

Vitali Andrusevich

unread,
Nov 16, 2025, 9:01:30 AM (4 days ago) Nov 16
to qubes...@googlegroups.com
Hi everybody.


This problem also exists in the official debian-13 template from Qubes
itself.

[user@dom0 ~]$ qubesdb-read -d debian-13 /qubes-keyboard

xkb_keymap {\x0a\x09xkb_keycodes { include
"evdev+aliases(qwerty)"\x09};\x0a\x09xkb_types { include
"complete"\x09};\x0a\x09xkb_compat { include
"complete"\x09};\x0a\x09xkb_symbols { include
"pc+us+ru:2+inet(evdev)+capslock(grouplock)"\x09};\x0a\x09xkb_geometry
{ include "pc(pc105)"\x09};\x0a};

Seems like this qubes xkb mapping runtime change is not installed
properly into debian-13 environment or is somehow incompatible or
conflicting with
xkb-data (version 2.42-1 in debian-13).

As a result, xev shows Caps_Lock ivent (after pressing Caps button)
instead of expected ISO_Next_Group (like in Debian-12).

if i manually run the following command in debian-13 appvm:

setxkbmap -layout 'us,ru' -option 'grp:caps_toggle'

it works like expected (caps button switches keyboard layout).

Regards,
Vitali
Reply all
Reply to author
Forward
0 new messages