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.]
-- 
Regards,

Dave  [RLU #314465]
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
[email protected] (David W Noon)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

Attachment: signature.asc
Description: PGP signature

Reply via email to