[LightDM] [help] keyboard layout in a multiseat

Benoit Barthelet benoit.barthelet at gmail.com
Mon Jun 8 00:24:43 PDT 2015


I got a multiseat where my two keyboards are different, one is FR, the
other is GB
I upgraded to 1.14 recently and had to redo my config from 1.10, so far so
good, I attached my various gpu, mouse, keyboards with loginctl, everything
works fine except that both keyboards are GB (which is the default locale).

So I tried to put this in /etc/lightdm/lightdm.conf

[Seat:seat1]
xserver-config=/etc/X11/xorg.conf.seat1

with the /etc/X11/xorg.conf.seat1 being :

Section "ServerLayout"
        Identifier      "seat1"
        Screen          "Screen1"
        InputDevice     "Mouse1"        "CorePointer"
        InputDevice     "Keyboard1"     "CoreKeyboard"
EndSection

Section "InputDevice"
        Identifier      "Keyboard1"
        Driver          "evdev"
        Option          "Device"
"/dev/input/by-id/usb-Dell_Dell_QuietKey_Keyboard-event-kbd"
        Option          "XkbLayout"     "fr"
EndSection
Section "InputDevice"
        Identifier      "Mouse1"
        Driver          "evdev"
        Option          "Device"
"/dev/input/by-id/usb-DELL_DELL_USB_Laser_Mouse-event-mouse"
        Option          "GrabDevice"    "True"
EndSection
Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection
Section "Screen"
        Identifier "Screen1"
        Monitor    "Monitor1"
EndSection

With that setup it works fine, but is that the "right" way to proceed ?
Shouldn't the layout of the keyboard be automatically detected ?

thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20150608/a080b04d/attachment.html>


More information about the LightDM mailing list