1 |
On Thu, 11 Aug 2011 21:14:59 +0100, Matt Harrison wrote about |
2 |
[gentoo-user] fighting over keyboard layouts: |
3 |
|
4 |
[snip] |
5 |
> No matter what I do (which admittedly isn't very much as I don't know |
6 |
> X stuff that well), I cannot get a decent keyboard layout in gnome. |
7 |
|
8 |
If you're using the evdev driver for keyboard and mouse (you should |
9 |
be!) then something like this in your /etc/X11/xorg.conf might help. |
10 |
|
11 |
# Configuration for evdev-controlled input devices. |
12 |
Section "InputClass" |
13 |
Identifier "keyboard" |
14 |
Driver "evdev" |
15 |
Option "XkbLayout" "gb" |
16 |
Option "XkbModel" "pc105" |
17 |
Option "XkbOptions" "terminate:ctrl_alt_bksp" |
18 |
MatchIsKeyboard "on" |
19 |
EndSection |
20 |
|
21 |
Section "InputClass" |
22 |
Identifier "pointer" |
23 |
Driver "evdev" |
24 |
MatchIsPointer "on" |
25 |
EndSection |
26 |
|
27 |
|
28 |
The bit about "XkbLayout" "gb" should do the trick. [Just be aware that |
29 |
there is a national language code "uk", but it is for Ukrainian.] |
30 |
-- |
31 |
Regards, |
32 |
|
33 |
Dave [RLU #314465] |
34 |
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* |
35 |
dwnoon@××××××××.com (David W Noon) |
36 |
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* |