Keyboard files: Difference between revisions

From OLPC
Jump to navigation Jump to search
(New article)
 
m (Reverted edits by 213.202.255.187 (Talk) to last version by Sj)
 
(6 intermediate revisions by 6 users not shown)
Line 1: Line 1:
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=
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 command for setting a console keyboard has the form

xmodmap dvorak


The X command for setting a keyboard layout has the form
The X command for setting a keyboard layout has the form
Line 6: Line 10:
setxkbmap -layout us
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.
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=

*[http://www.xfree86.org/current/ XFree86 Documentation]

*[http://www.xfree86.org/current/XKB-Config.html The XKB Configuration Guide] [http://www.xfree86.org/current/XKB-Config.pdf PDF]

*[http://www.xfree86.org/current/XKB-Enhancing.html How to further enhance XKB configuration] [http://www.xfree86.org/current/XKB-Enhancing.html PDF]

*[http://webcvs.freedesktop.org/xkeyboard-config/xkeyboard-config/symbols/ List of keyboard layouts from the Xorg server, already available to the OLPC]

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

[[Category:Keyboard]]

Latest revision as of 23:37, 5 January 2009

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