Le jeudi 08 juillet 2010 01:13:56, Neil Bothwick a écrit : > On Wed, 7 Jul 2010 19:19:14 +0200, Stéphane Guedon wrote: > > > Until your version of Xorg stops supporting HAL, when you will need an > > > xorg.conf. > > > > You can also pass through udev ! > > How? I know how to use udev for device recognition, but how do you tell > it to use a particular keyboard layout?
19:18:09 steph...@luciole:/etc/udev/rules.d $ cat 61-x11-input.rules SUBSYSTEM!="input", GOTO="x11_input_end" ACTION!="add", GOTO="x11_input_end" KERNEL=="event*", ENV{x11_driver}="evdev" KERNEL=="event*", ENV{ID_INPUT_KEYBOARD}=="1 ENV{ID_INPUT_KEY}=="?*", ENV{xkblayout}="fr" LABEL="x11_input_end" ======= You have to tell udev your a "fr" with the x11-input rule -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc
signature.asc
Description: This is a digitally signed message part.