Re: How to have separate kbd layouts per usb-keyboards?
Bruno Boettcher <email@example.com> schrieb:
> so i installed for our media server 2 keyboards, one german, the other
> french.... and now i am searching how to configure the machine to
> allways assume german keyboard layout coming from a certain usb
> device, and french from another... and am stuck since i didn't even
> manage to get the beginning of a solution.....
If you're running Squeeze and if the keyboards have different USB IDs
Xserver Input hotplug could do what you want.
Have a look at INPUTCLASS SECTION in 'man xorg.conf'
I have a notebook with Swiss keyboard layout and a
USB keyboard with German layout.
I have the following file
with the following lines:
Identifier "Logitech Keyboard"
Option "XkbLayout" "de"
The USBID is the one you get with lsusb.
If the IDs of your keyboards are different it should be possible to define
two entries with corresponding XkbLayout.