Subject: Re: Incorrect X mapping for uk keyboard
To: David Laight <david@l8s.co.uk>
From: Alistair Crooks <agc@pkgsrc.org>
List: current-users
Date: 01/19/2002 21:49:08
On Sat, Jan 19, 2002 at 05:07:32PM +0000, David Laight wrote:
> > I use:
> > 
> > /sbin/wsconsctl -w encoding=uk map+="keysym Caps_Lock = Control_L"
> 
> That only affects the mappings used by the terminal windows.  X is given
> the raw PC-XT keycodes and has its own map somewhere else.

My /etc/XF86Config file has the following:

Section "Keyboard"
   Protocol        "Standard"
   AutoRepeat      500 30
   LeftAlt         Meta
   RightAlt        Meta
   ScrollLock      Compose
   RightCtl        Control
   XkbKeycodes     "xfree86"
   XkbTypes        "default"
   XkbCompat       "default"
   XkbSymbols      "us(pc101)"
   XkbGeometry     "pc"
   XkbRules        "xfree86"
   XkbModel        "pc105"
   XkbLayout       "gb"
   XkbOptions      "ctrl:nocaps"
EndSection

Regards,
Alistair