Template:Keyboard layouts

From OLPC
Revision as of 23:51, 13 January 2008 by Walter (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
  english | 한글 HowTo [ID# 96469]  +/-  


OLPC keyboard layouts

English (US international); Spanish (Argentine); Portuguese (Brazilian); Amharic (Ethiopic); Arabic; West African; French; Thai; Urdu; Cyrillic; Turkish; Nepali; Mongolian; Kazakh; Devanagari; Uzbek; Pashto; Dari; Armenian; Khmer; Pulaar

Console keyboard layout files are in /lib/kbd/keymaps/i386. Set the console layout thus, in bash.

loadkeys dvorak
loadkeys us

You can access the console by pressing Ctrl+Alt+F1 (F1 is Mesh key f1 small.png) then log in as root with no password. To return to Sugar, press Ctrl+Alt+F3 (F3 is Home key f3 small.png).

X keyboard layout files are in /usr/share/X11/xkb/symbols. Set the X layout thus, from the Terminal.

setxkbmap dvorak
setxkbmap us

Press Alt+= or Alt+0 to toggle back and forth.


The layout switching key (misnamed the language key) is times-divide, just above right arrow. On Arabic and some other XOs it has a different graphic symbol, indicating two alphabets to switch between.

In the Arabic layout, it is defined as

// Language key
key <I219> { [ ISO_Next_Group, ISO_Prev_Group ] }

In the International US English layout, it is defined as

key <I219> {[ multiply, division,ISO_Next_Group,ISO_Prev_Group ]}

Some current layouts, including Dvorak, fail to define a language key.

Please see Customizing_NAND_images#Keyboard for more details about configuring your keyboard and console keybindings.