1 |
On Thu, Aug 11, 2011 at 11:00:47PM +0100, David W Noon wrote: |
2 |
> On Thu, 11 Aug 2011 21:14:59 +0100, Matt Harrison wrote about |
3 |
> [gentoo-user] fighting over keyboard layouts: |
4 |
> |
5 |
> [snip] |
6 |
> > No matter what I do (which admittedly isn't very much as I don't know |
7 |
> > X stuff that well), I cannot get a decent keyboard layout in gnome. |
8 |
> |
9 |
> If you're using the evdev driver for keyboard and mouse (you should |
10 |
> be!) then something like this in your /etc/X11/xorg.conf might help. |
11 |
> |
12 |
> # Configuration for evdev-controlled input devices. |
13 |
> Section "InputClass" |
14 |
> Identifier "keyboard" |
15 |
> Driver "evdev" |
16 |
> Option "XkbLayout" "gb" |
17 |
> Option "XkbModel" "pc105" |
18 |
> Option "XkbOptions" "terminate:ctrl_alt_bksp" |
19 |
> MatchIsKeyboard "on" |
20 |
> EndSection |
21 |
> |
22 |
> Section "InputClass" |
23 |
> Identifier "pointer" |
24 |
> Driver "evdev" |
25 |
> MatchIsPointer "on" |
26 |
> EndSection |
27 |
> |
28 |
> |
29 |
> The bit about "XkbLayout" "gb" should do the trick. [Just be aware that |
30 |
> there is a national language code "uk", but it is for Ukrainian.] |
31 |
|
32 |
Thanks David, |
33 |
|
34 |
I wasn't using an xorg.conf before but just threw those sections in and it seems |
35 |
perfect. I was just in the middle of digging out a USB dvd drive to try James' |
36 |
suggestion but now I can save my energy. |
37 |
|
38 |
Thanks guys |