Keyboard files

From OLPC
Revision as of 09:54, 1 November 2006 by Mokurai (talk | contribs) (New article)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In Linux, keyboard definitions are text files in a specific format. Macintosh OS X uses an XML file. Standard Windows keyboard layouts are compiled using the Windows SDK. Free keyboards for Windows can be created in Tavultesoft Keyman.

The X command for setting a keyboard layout has the form

setxkbmap -layout us

where any keyboard layout file name can be substituted for us. The keyboard files may be found in /etc/X11/xkb/symbols/, /usr/share/X11/xkb/symbols/, or /etc/ depending on the distribution used. Most of the keyboard file names are two-letter language codes, or are based on those codes.