Subject: Re: Changing keyboard layout for single user in X
To: David Friggens <david.friggens@vuw.ac.nz>
From: Greg 'groggy' Lehey <grog@lemis.com>
List: netbsd-help
Date: 05/27/2002 15:22:53
On Monday, 27 May 2002 at 17:44:36 +1200, David Friggens wrote:
>> Have a look at the "xkeycaps" package
>
> Thanks, but I don't have permission to install packages. :-(
>
> I may be able to talk them into installing it, but they'd probably tell me to
> use KDE.
>
> Is there something I can use in the `base' system?

Take a look at xmodmap.  I have the following in my .xinitrc, to put
the control and alt keys where God intended them:

  xmodmap .xremap

.xremap contains:

keysym Alt_L = Meta_L Meta_L
remove Lock = Caps_Lock
remove Control = Control_L
remove Mod1 = Meta_L
keysym Control_L = Meta_L
keysym Caps_Lock = Control_L
add Mod1 = Meta_L
add Control = Control_L
keycode  94 = grave asciitilde

For a full Dvorak keyboard, you'd need a few more entries than that,
of course.

Greg
--
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers