Template:Keyboard layouts: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (<noinclude> tag)
Line 5: Line 5:
[[OLPC Keyboard layouts#US International keyboard|English (US international)]]; [[OLPC Argentina Keyboard|Spanish (Argentine)]]; [[OLPC Brasil Keyboard|Portuguese (Brazilian)]]; [[OLPC Ethiopia Keyboard|Amharic (Ethiopic)]]; [[OLPC Libya Keyboard|Arabic]]; [[OLPC Nigeria Keyboard|West African]]; [[OLPC Rwanda Keyboard|French]]; [[OLPC Thailand Keyboard|Thai]]; [[Urdu Keyboard|Urdu]]; [[Cyrillic Keyboard|Cyrillic]]; [[OLPC Turkey Keyboard|Turkish]]; [[OLPC Nepal Keyboard|Nepali]]; [[OLPC Mongolian Keyboard|Mongolian]]; [[OLPC Kazakh Keyboard|Kazakh]]; [[Devanagari Keyboard|Devanagari]]; [[Uzbek Keyboard|Uzbek]]; [[Pashto Keyboard|Pashto]]; [[Dari Keyboard|Dari]]
[[OLPC Keyboard layouts#US International keyboard|English (US international)]]; [[OLPC Argentina Keyboard|Spanish (Argentine)]]; [[OLPC Brasil Keyboard|Portuguese (Brazilian)]]; [[OLPC Ethiopia Keyboard|Amharic (Ethiopic)]]; [[OLPC Libya Keyboard|Arabic]]; [[OLPC Nigeria Keyboard|West African]]; [[OLPC Rwanda Keyboard|French]]; [[OLPC Thailand Keyboard|Thai]]; [[Urdu Keyboard|Urdu]]; [[Cyrillic Keyboard|Cyrillic]]; [[OLPC Turkey Keyboard|Turkish]]; [[OLPC Nepal Keyboard|Nepali]]; [[OLPC Mongolian Keyboard|Mongolian]]; [[OLPC Kazakh Keyboard|Kazakh]]; [[Devanagari Keyboard|Devanagari]]; [[Uzbek Keyboard|Uzbek]]; [[Pashto Keyboard|Pashto]]; [[Dari Keyboard|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):
Console keyboard layout files are in /lib/kbd/keymaps/i386. You can access the console by typing Ctrl+Alt+F1 (F1 is [[Image:Mesh key f1 small.png]]); log in as root with no password; type Ctrl+Alt+F3 to return to Sugar (F3 is [[Image:Home key f3 small.png]]).


loadkeys dvorak
loadkeys dvorak
loadkeys us
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)
X keyboard layout files are in /usr/share/X11/xkb/symbols.


setxkbmap dvorak
setxkbmap dvorak
Line 27: Line 27:


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

Please see [[Customizing_NAND_images#Keyboard]] for more details.

Revision as of 13:45, 5 January 2008

  english | 한글 HowTo [ID# 92499]  +/-  


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. You can access the console by typing Ctrl+Alt+F1 (F1 is Mesh key f1 small.png); log in as root with no password; type Ctrl+Alt+F3 to return to Sugar (F3 is Home key f3 small.png).

loadkeys dvorak
loadkeys us

X keyboard layout files are in /usr/share/X11/xkb/symbols.

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.

Please see Customizing_NAND_images#Keyboard for more details.