customizing keyboard layout with XKB

Igor Peshansky
Wed Mar 21 15:36:00 GMT 2007

On Wed, 21 Mar 2007, Alan James Caruana wrote:

> Hi,
> I've been searching on how to configure and customize a keyboard
> layout with XKB, and all I could find is the basic guide on the
> XFree86 site. ( ), but I need
> something more detailed (or maybe some help from anybody who knows
> XKB).
> There is the "XkbOptions" field, but I couldn't find a list of the
> possible options I can give it. The same goes for "XkbVariants".
> I know that I can use the "XkbLayout" to change the keyboard language,
> but if I want to create a custom keyboard layout, say with the letters
> 'Q' and 'A' inverted, what should I do?
> I would appreciate it if anyone could help me in any way, whether by
> giving me the solution or by pointing me towards good documentation
> from which I can figure out how to do it myself.

"man xkbcomp".  Also, look at various files in /etc/X11/xkb.

Googling for "custom keyboard layout xkbcomp" got some helpful links too,
e.g., <>.
      |\      _,,,---,,_ |
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for "nothing left to lose"...  -- Janis Joplin

Unsubscribe info:
Problem reports:

More information about the Cygwin-xfree mailing list