[ILUG] nasty xmodmap..or something

David Golden david.golden at oceanfree.net
Wed Nov 7 11:17:21 GMT 2001


On Wednesday 07 November 2001 03:50, Justin Mason wrote:

> Yep, they've replaced it with something new-fangled called xkb.  Take a
> look at /etc/X11/xkb/...  It's much more complicated, and under-docco'ed.
>

Actaully, it's got voluminous documentation, in the doc/ directory of the 
Xfree86 source tree.   It's just, for some annoying reason (possibly the fact 
that there's about 10 megabytes of it), distros don't seem to bother 
installing 90% of XFree's documentation, they tend to just install the rahter 
terse man pages. The documentation is actually pretty comprehensive, if heavy 
going - every little feature's seems to have a 30-page+ postscript manual. 

If you really don't like Xkb,  putting the line

Option "XkbDisable"  

in your Core keyboard's InputDevice 
section in XF86Config will turn it off.

However, I don't recommend it.

Here's the settings I use for a normal GB keyboard, but with Caps Lock turned 
into a CTRL key to make emacs usable:

     Option "XkbRules" "xfree86"
     Option "XkbModel" "pc105"
     Option "XkbLayout" "gb"
     Option "XkbOptions" "ctrl:nocaps"

you can also use ctrl:swapcaps to  swap the caps lock and control keys.

The pc105 bit ensures that your windows and menu keys work, or at least show 
up in the X event queue - mandrake, for example, binds them to useful 
functions.





More information about the ILUG mailing list