[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: remapping keys



On Sat, Jan 26, 2002 at 09:54:51AM -0800, Andrew Agno wrote:
> Something like the following in a file:
> ! Swap left control and caps lock keys
> remove Lock = Caps_Lock
> remove Control = Control_L
> keysym Control_L = Caps_Lock
> keysym Caps_Lock = Control_L
> add Lock = Caps_Lock
> add Control = Control_L
> 
> then just use xmodmap on that file.
> 

Alternately, put

XkbOptions  "ctrl:swapcaps"

in the keyboard section of XF86Config.

The syntax for XFree 4.x probably differs; perhaps something like

Option      XkbOptions  "ctrl:swapcaps"

in the keyboard InputDevice section.

I can't be sure since I solved this problem with a Happy Hacking
keyboard so I don't use those options.

-- Mark

Attachment: pgpUdJd8ki96C.pgp
Description: PGP signature


Reply to: