Hello, I have a problem with switching keyboard layouts in Qubes 4.1 beta latest version.
I use i3wm, but in Xfce the layout also does not switch, except for dom0, the switch works in it.
During installation, I chose both English and Russian.
I tried everything, I added “setxkbmap -model pc105 -layout us, ru -option grp: alt_shift_toggle, grp_led” in i3 config, I added “Section” InputClass "
Identifier “keyboard defaults”
MatchIsKeyboard “on”
Option “XkbModel” “pc105”
Option “XkbLayout” “us, ru”
Option “XkbVariant” “”
Option “XKbOptions” “grp: alt_shift_toggle”
EndSection
"in /etc/X11/xorg.conf.d/50-keyboard.conf, dom0 has this file by default with the same settings.
I don’t think of any possible solutions anymore.
Thank you in advance for your help.
help me please
Surprisingly, I have exactly the same problem on my workstation “MS-7A15 1.0”
Has no one faced such a problem?
AFAIK, during the installation, you can test how your languages switch works in the UI. Does it work in your case? Also, does it work in 4.0?
I solved the problem, thanks a lot.
When installing Qubes 4.1, I chose “Alt + Shift” to switch the layout, after installation, the layout switching worked for me, I tried to change the key combination and nothing came of it, there must be a bug in changing the key combination.
At 4.0.4 everything worked fine.
Thanks.
How exactly?
I get the same problem with Qubes keyboard layout switching, the solution is autorun or bind to hotkey with the command:
qvm-run --all 'setxkbmap -layout "us,ru" -option "grp:caps_toggle,grp_led:caps"'
Also you can try to change an AppVM keyboard_layout
setting in qvm-prefs
:
qvm-prefs --get AppVM keyboard_layout
- Note that
--get
is deprecated and ignored, check out manqvm-prefs
. - I do not understand how this can help, should not it conflict with the keyboard layout changes implemented with R4.1.
I am asking because I have keyboard layout issues onR4.1 myself (on R4.0 it worked perfectly).