Gentoo Archives: gentoo-user

From: John <john@×××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] xorg-server
Date: Mon, 27 Dec 2010 18:44:45
Message-Id: 20101227184521.4f46f796@november
In Reply to: Re: [gentoo-user] xorg-server by David W Noon
1 On Mon, 27 Dec 2010 17:58:26 +0000
2 David W Noon <dwnoon@××××××××.com> wrote:
3
4 > On Mon, 27 Dec 2010 12:20:02 +0100, John wrote about [gentoo-user]
5 > xorg-server:
6 >
7 > >I have just upgraded to xorg-server 1.9.2
8 > >but unfortunately my keyboard is not recognising gb layout
9 >
10 > You have at least 2 courses of action:
11 >
12 > 1) Add a udev rule in /etc/udev/rules.d/10-local.rules
13 >
14 > # A rule to define our keyboard layout.
15 > KERNEL=="event*", ENV{ID_INPUT_KEYBOARD}=="?*", ENV{xkblayout}="gb",
16 > ENV{xkbmodel}="pc105"
17 >
18 > 2) Add a configuration file /etc/X11/xorg.conf.d/10-evdev.conf
19 >
20 > # Configuration for evdev-controlled input devices.
21 > Section "InputClass"
22 > Identifier "keyboard"
23 > Driver "evdev"
24 > Option "XkbLayout" "gb"
25 > Option "XkbModel" "pc105"
26 > Option "XkbOptions" "terminate:ctrl_alt_bksp"
27 > MatchIsKeyboard "on"
28 > EndSection
29 >
30 > Section "InputClass"
31 > Identifier "pointer"
32 > Driver "evdev"
33 > MatchIsPointer "on"
34 > EndSection
35 >
36 >
37 >
38 > I used both, just to be sure, to be sure.
39
40 Have tried all suggestions and all works ok now.
41
42 Should we still be using xorg.conf as a few years
43 ago or not using a xorg.conf file unless we have to?
44
45 Thanks
46
47 --
48 John D Maunder
49 john@××××××××××××××××××.uk

Attachments

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

Replies

Subject Author
Re: [gentoo-user] xorg-server Neil Bothwick <neil@××××××××××.uk>