Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] kdm & french keyboard
Date: Mon, 12 Jul 2010 08:32:11
Message-Id: 20100712093134.3a504dd8@digimed.co.uk
In Reply to: Re: [gentoo-user] kdm & french keyboard by "Stéphane Guedon"
1 On Sun, 11 Jul 2010 19:19:25 +0200, Stéphane Guedon wrote:
2
3 > > How? I know how to use udev for device recognition, but how do you
4 > > tell it to use a particular keyboard layout?
5 >
6 > 19:18:09 stephane@luciole:/etc/udev/rules.d $ cat 61-x11-input.rules
7 > SUBSYSTEM!="input", GOTO="x11_input_end"
8 > ACTION!="add", GOTO="x11_input_end"
9 >
10 > KERNEL=="event*", ENV{x11_driver}="evdev"
11 > KERNEL=="event*", ENV{ID_INPUT_KEYBOARD}=="1
12 >
13 > ENV{ID_INPUT_KEY}=="?*", ENV{xkblayout}="fr"
14 >
15 > LABEL="x11_input_end"
16 > =======
17
18 Interesting, but it seems more complex that a simple stanza
19 in /etc/X11/xorg.conf.d. Using udev rules for something that will only be
20 used by one application adds unnecessary complication, IMO. If only X
21 will use the information, I'd prefer to put in in the X configuration
22 directory.
23
24
25 --
26 Neil Bothwick
27
28 The world is a tragedy to those who feel, but a comedy to those who
29 think.(Horace Walpole)

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] kdm & french keyboard "Stéphane Guedon" <stephane@××××××××××.eu>