[SOLVED] Switching between multible keyboard layouts
Dear all,
I recently set up a base install of Artix Linux with a minimalistic set of programs and dwm as its window manager. I am using an italian keyboard but would like to being able to switch to the us layout with a key binding. I followed the instructions in this topic. Namely:
1) uncommenting the desired locales in /etc/locale.gen (in my case, it_IT.UTF-8 and en_US.UTF-8),
2) run sudo locale-gen to generate the desired locales (with the expected output), and
3) created a 00-keyboard.conf file in /etc/X11/xorg.conf.d with:
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "it,us"
Option "XkbModel" "thinkpad"
Option "XkbVariant" "qwerty"
Option "XkbOptions" "grp:alt_shift_toggle"
EndSection
However, after a reboot, pressing alt+shift doesn't switch between the two layouts. In my .xinitrc file I have this line:
setxkbmap it &
because I want the default layout to be italian. However maybe this is the issue, or i didn't install some packages. Do any of you have some suggestions?