Keyboard layout per device
Peter Hutterer
peter.hutterer at who-t.net
Thu Aug 30 00:35:27 PDT 2012
On Sat, Aug 18, 2012 at 03:59:31PM +0200, Nicolas Vinot wrote:
> Hi everybody,
>
> I usually use 3 keyboards layout :
> — bepo, with a Typematrix or laptop integrated keyboard;
> — azerty, to allow mates and colleagues to use my computer with a better-known
> layout on a standard USB keyboard;
> — qwerty, for my Yubikey, a security token working only with this layout.
>
> I try to configure X to manage all those layouts and assign the right layout to
> each keyboard.
> Here is my /etc/X11/xorg.conf.d/90-keyboard.conf :
> http://pastebin.com/1e3qhKiT
looks correct on a quick glance, but looking at the Xorg.log should tell you
more about which option is set for which keyboard.
Plus, make sure your desktop environment isn't overwriting your xorg.conf.
If you use GNOME, that would be the case.
Cheers,
Peter
> On my workstation (Typematrix + Yubikey + mate keyboard), I obtain the
> following when I plug my keyboards :
>
> Assigned layout
> Device Plugged TM Yubi Logitech
> 1 TM bépo OK
> 2 Yubi bépo OK qwerty OK
> 3 Logitech azerty NOK azerty NOK azerty OK
> 4 Yubi azerty NOK qwerty OK azerty OK
> 5 TM bépo OK bépo NOK bépo NOK
>
>
> On my laptop (integrated + Typematrix + Yubikey + mate keyboard) :
>
> Assigned layout
> Device Plugged Integrated TM Yubi Logitech
> 1 Integrated bépo OK
> 2 TM bépo OK bépo OK
> 3 Yubi qwerty NOK qwerty NOK qwerty OK
> 4 Logitech qwerty NOK qwerty NOK qwerty OK azerty OK
> 5 Yubi qwerty NOK qwerty NOK qwerty OK qwerty NOK
> 6 TM bépo OK bépo OK bépo NOK bépo NOK
>
>
> This behaviour is very random and not predictable.
>
> Sometime the last plugged device layout is apply globally (case 6 on laptop)
> sometime only on the last plugged device (case 5 on laptop).
>
> And I don't have the same behaviour on laptop and workstation (plug the yubi
> reset all layout on laptop (case 3) but not on workstation (case 2)).
>
> Where I'm wrong on my configuration or where I misunderstand Xorg behaviour or
> configuration ?
More information about the xorg
mailing list