Keyboard files: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Added link to keyboard layouts)
m (categorized as keyboard article)
Line 26: Line 26:


*[http://www.tavultesoft.com/keyman/downloads/keyboards/index.php Tavultesoft keyboard layouts]
*[http://www.tavultesoft.com/keyman/downloads/keyboards/index.php Tavultesoft keyboard layouts]

[[Category:Keyboard]]

Revision as of 21:09, 5 January 2007

In Linux, keyboard definitions are text files in two specific format, one for console, and one for X. 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.

Commands

The command for setting a console keyboard has the form

xmodmap dvorak

The X command for setting a keyboard layout has the form

setxkbmap -layout us

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

New layouts

See Keyboard definitions

External Links