Template:Keyboard layouts: Difference between revisions

From OLPC
Jump to navigation Jump to search
(→‎OLPC keyboard layouts: Layout switching)
m (→‎OLPC keyboard layouts: Format, fix link)
Line 2: Line 2:
[[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. 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 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. Set the X layout thus, from the [[Developer Console]] (Alt+= or Alt+0 to toggle back and forth)


setxkbmap dvorak
setxkbmap dvorak
Line 19: Line 19:
key <I219> { [ ISO_Next_Group, ISO_Prev_Group ] }
key <I219> { [ ISO_Next_Group, ISO_Prev_Group ] }


In the International US English <layout, it is defined as
In the International US English layout, it is defined as


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

Revision as of 23:44, 27 November 2007

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.