On Thu, Aug 11, 2011 at 11:00:47PM +0100, David W Noon wrote:
> On Thu, 11 Aug 2011 21:14:59 +0100, Matt Harrison wrote about
> [gentoo-user] fighting over keyboard layouts:
> 
> [snip]
> > No matter what I do (which admittedly isn't very much as I don't know
> > X stuff that well), I cannot get a decent keyboard layout in gnome.
> 
> If you're using the evdev driver for keyboard and mouse (you should
> be!) then something like this in your /etc/X11/xorg.conf might help.
> 
> # 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
> 
> 
> The bit about "XkbLayout" "gb" should do the trick. [Just be aware that
> there is a national language code "uk", but it is for Ukrainian.]

Thanks David,

I wasn't using an xorg.conf before but just threw those sections in and it seems
perfect. I was just in the middle of digging out a USB dvd drive to try James'
suggestion but now I can save my energy.

Thanks guys

Reply via email to