Template:Keyboard layouts

From OLPC
Revision as of 11:11, 28 December 2007 by LeeSI (talk | contribs) (→‎OLPC keyboard layouts: translating into Korean)
Jump to navigation Jump to search
  english | 한글 HowTo [ID# 89612]  +/-  

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

Console keyboard layout files are in /lib/kbd/keymaps/i386. Set the console layout thus, in bash (Ctl+Alt+F1, and log in as root with no password; Alt+F3 to get back to Sugar):

loadkeys dvorak
loadkeys us

X keyboard layout files are in /usr/share/X11/xkb/symbols. Set the X layout thus, from the Developer Console (Alt+= or Alt+0 to toggle back and forth)

setxkbmap dvorak
setxkbmap us

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, 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.