Template:Keyboard layouts: Difference between revisions

From OLPC
Jump to navigation Jump to search
 
(54 intermediate revisions by 26 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{Translations}}
{{Translations}}
This template lists available keyboard layouts and provides some boilerplate text. It add the page using it to [[:Category:Keyboard layouts]].

[[Category:Keyboard]]
</noinclude>
</noinclude>
==OLPC keyboard layouts==
==OLPC keyboard layouts==
[[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]]; [[Armenian Keyboard|Armenian]]; [[Khmer Keyboard|Khmer]]; [[Pulaar Keyboard|Pulaar]]

The procedure for modifying the keyboard layout on your XO is described [[Customizing_NAND_images#Keyboard|here]].

There are two mechanisms on the laptop that are used to configure the keyboards: one for the console and one for the X Window System (and Sugar).

===Console===

Console keyboard layout files are in <tt>/lib/kbd/keymaps/i386</tt>. From the [[Terminal]] activity (or the console), you can use the 'loadkeys' program to assign a keymap to the the console. For example:

loadkeys es

for Spanish

loadkeys us

for English

===X Window System===

X Window System keyboard symbol files are in <tt>/usr/share/X11/xkb/symbols</tt>. Again, from the [[Terminal]] activity (or the console), you can use the <tt>setxkbmap</tt> to assign a symbol table to the X Window System. For example:

setxkbmap es

for Spanish


Instructions for setting up keyboard switching in [[Terminal]] are on the [[Customizing NAND images]] page. On bilingual XOs, the multiplication/division key is replaced with a keyboard switching key.
setxkbmap us


Changing the language of the keyboard is independent of changing the language currently displayed. The language currently displayed can be changed by using the Language section of the [[Sugar Control Panel]].
for US


===Membrane keyboard layouts===
setxkbmap -layout us,in -variant olpc2,olpc
[[OLPC English Keyboard|English (US international)]]; [[OLPC_Spanish_Keyboard|Spanish (Latin America)]]; [[OLPC_Portuguese_Keyboard|Portuguese (Brazilian)]]; [[OLPC Amharic Keyboard|Amharic (Ethiopic)]]; [[OLPC Arabic Keyboard|Arabic]]; [[OLPC Nigeria Keyboard|Nigerian (Igbo, Hausa, Yoruba)]]; [[OLPC French Keyboard|French]]; [[OLPC Thai Keyboard|Thai]]; [[Urdu Keyboard|Urdu]]; [[OLPC_Russian_Keyboard|Cyrillic (Russian)]]; [[OLPC Turkish Keyboard|Turkish]]; [[OLPC Nepali Keyboard|Nepali]]; [[OLPC Mongolian Keyboard|Mongolian]]; [[OLPC Kazakh Keyboard|Kazakh]]; [[Devanagari Keyboard|Devanagari]]; [[OLPC Uzbek Keyboard|Uzbek]]; [[OLPC Pashto Keyboard|Pashto]]; [[OLPC Dari Keyboard|Dari]]; [[OLPC Armenian Keyboard|Armenian]]; [[OLPC Khmer Keyboard|Khmer]]; [[OLPC Pulaar Keyboard|Pulaar]]; [[OLPC Italian Keyboard|Italian]]; [[OLPC French (ca)(ht) Keyboard|Kreyòl]]; [[OLPC German (D-A-CH) Keyboard|German]]; [[OLPC_Chinese_(Simplified)_Keyboard|Chinese (Simplified)]]; [[OLPC_Azerty_Keyboard|OLPC AZERTY]]


===Non-membrane keyboard layouts===
for US and Devanagari
Starting with the [[XO-1.5_HS|XO-1.5 HS ("High School") edition]], the XO laptop has a traditional (non-membrane) keyboard available as an option: [[OLPC English Non-membrane Keyboard|English (US International)]]; [[OLPC_Spanish_Non-membrane_Keyboard|Spanish (Latin America)]];


===Making the changes permanent===
===Blank Keyboard Artwork===
The above changes are temporary. To make permanent changes, you should use the 'sugar-control-panel' program as described [[Sugar-control-panel|here]]. For example:


Artwork defining the inner dimensions of the membrane keyboard is available here: [[:File:Keyboard-blank.svg|keyboard-blank.svg]]
sugar-control-panel -s language Spanish/Argentina


This changes the values in /etc/sysconfig/keyboard.


----
XKB_MODEL="olpc"
[[Category:Keyboard layouts]]
XKB_LAYOUT="es"
XKB_VARIANT="olpc"
KEYTABLE="es"

Latest revision as of 02:52, 10 September 2013

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

This template lists available keyboard layouts and provides some boilerplate text. It add the page using it to Category:Keyboard layouts.

OLPC keyboard layouts

Instructions for setting up keyboard switching in Terminal are on the Customizing NAND images page. On bilingual XOs, the multiplication/division key is replaced with a keyboard switching key.

Changing the language of the keyboard is independent of changing the language currently displayed. The language currently displayed can be changed by using the Language section of the Sugar Control Panel.

Membrane keyboard layouts

English (US international); Spanish (Latin America); Portuguese (Brazilian); Amharic (Ethiopic); Arabic; Nigerian (Igbo, Hausa, Yoruba); French; Thai; Urdu; Cyrillic (Russian); Turkish; Nepali; Mongolian; Kazakh; Devanagari; Uzbek; Pashto; Dari; Armenian; Khmer; Pulaar; Italian; Kreyòl; German; Chinese (Simplified); OLPC AZERTY

Non-membrane keyboard layouts

Starting with the XO-1.5 HS ("High School") edition, the XO laptop has a traditional (non-membrane) keyboard available as an option: English (US International); Spanish (Latin America);

Blank Keyboard Artwork

Artwork defining the inner dimensions of the membrane keyboard is available here: keyboard-blank.svg