1 |
On Mon, 27 Dec 2010 12:20:02 +0100, John wrote about [gentoo-user] |
2 |
xorg-server: |
3 |
|
4 |
>I have just upgraded to xorg-server 1.9.2 |
5 |
>but unfortunately my keyboard is not recognising gb layout |
6 |
|
7 |
You have at least 2 courses of action: |
8 |
|
9 |
1) Add a udev rule in /etc/udev/rules.d/10-local.rules |
10 |
|
11 |
# A rule to define our keyboard layout. |
12 |
KERNEL=="event*", ENV{ID_INPUT_KEYBOARD}=="?*", ENV{xkblayout}="gb", |
13 |
ENV{xkbmodel}="pc105" |
14 |
|
15 |
2) Add a configuration file /etc/X11/xorg.conf.d/10-evdev.conf |
16 |
|
17 |
# Configuration for evdev-controlled input devices. |
18 |
Section "InputClass" |
19 |
Identifier "keyboard" |
20 |
Driver "evdev" |
21 |
Option "XkbLayout" "gb" |
22 |
Option "XkbModel" "pc105" |
23 |
Option "XkbOptions" "terminate:ctrl_alt_bksp" |
24 |
MatchIsKeyboard "on" |
25 |
EndSection |
26 |
|
27 |
Section "InputClass" |
28 |
Identifier "pointer" |
29 |
Driver "evdev" |
30 |
MatchIsPointer "on" |
31 |
EndSection |
32 |
|
33 |
|
34 |
|
35 |
I used both, just to be sure, to be sure. |
36 |
-- |
37 |
Regards, |
38 |
|
39 |
Dave [RLU #314465] |
40 |
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* |
41 |
dwnoon@××××××××.com (David W Noon) |
42 |
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* |