I need to be able to use two keyboards (one standard AZERTY on my laptop) and a TypeMatrix 2030 USB (BÉPO layout). This I configured fine in xorg.conf by putting the following code in xorg.conf
(which I created)
Section "InputClass"
Identifier "keyboard"
Driver "evdev"
Option "XkbLayout" "fr"
Option "XkbVariant" "oss"
MatchIsKeyboard "on"
EndSection
Section "InputClass"
Identifier "Typematrix Bepo"
Driver "evdev"
Option "XkbLayout" "fr"
Option "XkbVariant" "bepo"
MatchVendor "TypeMatrix.com"
MatchProduct "USB Keyboard"
MatchIsKeyboard "on"
EndSection
The effect of this is that I can use either keyboard to login in kdm (I didn't test with lightdm), in other words everything works as I want outside KDE. Unfortunately as soon as KDE is running the DM is overriding X configuration and I'm stuck with the usual layout selector.
Is there a way to configure KDE so that either
- KDE does not override X settings or
- KDE uses more than one hardware for the keyboard (and/or allows me to associate a different layout to different keyboard)
?
Thank you for your help ! Please note that I don't want to lengthily explain why clicking on the «change layout» icon in the taskbar doesn't suit me, and more generally why it is not sufficient for me to have a single hardware keyboard recognised.
PS: (un)checking "Configure Layouts" in the System Settings has no bearing on the problem.
Configuration: Kubuntu 14.04 LTS 2 on a Sony VAIO VPCZ23M9E with TypeMatrix 2030 USB keyboard