I am trying to setup a debian system on which we need 2 keyboard layouts American English(us) and Greek(gr). On the Gnome DE I have set it up all fine. But my prefered DE is LXDE, so I looked up on how to set it up. I found on arch wiki that I need to add a #-keyboard.conf so here it is
Code:
$ cat /usr/share/X11/xorg.conf.d/30-keyboard.conf
Section "InputClass"
Identifier "evdev keyboard catchall""AT Translated Set 2 keyboard"
MatchIsKeyboard "yes""on"
Option "XkbLayout" "us,gr"
Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
EndSection
Here is my 10-evdev.conf keyboard section:
Code:
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
This configuration doesn't work. I get only the default us layout. After every change I made I run
Code:
# /etc/init.d/gdm3 restart
I even tried a full system reboot. However if I run on a terminal
Code:
setxkbmap -layout "us,gr" -option "grp:alt_shift_toggle,grp_led:scroll"
I get the results I want.
Any ideas what is wrong? Did I miss something in the configs? Any missing info ask and I will post ASAP.
Update:
I moved those files to /etc/X11/xorg.conf.d/ and checked /etc/default/keyboard. Still, no luck. In VT I have the layout switching, but not on lxde.