On Mon, 27 Dec 2010 17:58:26 +0000
David W Noon <dwn...@ntlworld.com> wrote:

> On Mon, 27 Dec 2010 12:20:02 +0100, John wrote about [gentoo-user]
> xorg-server:
> 
> >I have just upgraded to xorg-server 1.9.2
> >but unfortunately my keyboard is not recognising gb layout
> 
> You have at least 2 courses of action:
> 
> 1) Add a udev rule in /etc/udev/rules.d/10-local.rules
> 
> # A rule to define our keyboard layout.
> KERNEL=="event*", ENV{ID_INPUT_KEYBOARD}=="?*", ENV{xkblayout}="gb",
> ENV{xkbmodel}="pc105"
> 
> 2) Add a configuration file /etc/X11/xorg.conf.d/10-evdev.conf
> 
> # Configuration for evdev-controlled input devices.
> Section "InputClass"
>         Identifier      "keyboard"
>         Driver          "evdev"
>         Option          "XkbLayout" "gb"
>         Option          "XkbModel" "pc105"
>         Option          "XkbOptions" "terminate:ctrl_alt_bksp"
>         MatchIsKeyboard "on"
> EndSection
> 
> Section "InputClass"
>         Identifier      "pointer"
>         Driver          "evdev"
>         MatchIsPointer  "on"
> EndSection
> 
> 
> 
> I used both, just to be sure, to be sure.

Have tried all suggestions and all works ok now.

Should we still be using xorg.conf as a few years
ago or not using a xorg.conf file unless we have to?

Thanks

-- 
John D Maunder
j...@articwolf.myzen.co.uk

Attachment: signature.asc
Description: PGP signature

Reply via email to