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

Re: [1.2 installation]: how to tell X to follow swapping of control and caps lock from loadkeys

> > > What's the best way to swap the Caps Lock and left
> > > Control keys under X windows?  
> > 
> > It's right in the man page for xmodmap:

Absolutely correct... 

remove lock = Caps_Lock
remove control = Control_L
keysym Caps_Lock = Control_L
keysym Control_L = Caps_Lock
add lock = Caps_Lock
add control = Control_L

  Put those lines into a file, and then run 'xmodmap [file]' and the
Control_Left and Caps_Lock keys change places.  With or without the

> In X Windows 3.1.2 this will work fine, but in 3.2
> you will need to disable the new XKBD extensions and
> use the old xmodmap method.
Doesn't mean that xmodmap doesn't work...

> The XKBD has only one problem: its very, very, *very*
> more complex than xmodmap. There isn't any HOWTO
> (yet, I hope), so I'm reading the full documentation
> ( > 300 pages!).
> I think there is an easy solution to these problems.
> Why simple things like writing are so complicated?

  The extension has been around, for some time... the SGI has a "setxkeyboard" 
command to load a '.xkm' file, as an example.  But this is an extension
and doesn't replace the older methods of mapping the keyboard...

Ørn Einar Hansen                         oe.hansen@halmstad.mail.telia.com
                                    fax; +46 035 217194

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com

Reply to: