OLPC Mongolian Keyboard: Difference between revisions
m (rv) |
|||
(One intermediate revision by one other user not shown) | |||
Line 9: | Line 9: | ||
==OLPC section of the XKB symbol file== |
==OLPC section of the XKB symbol file== |
||
To use the XKB Mongolian layout along with US layout, you may need to edit <tt>/etc/X11/xorg.conf</tt>. This will make "us" the first and "mn" a second layout: |
To use the XKB Mongolian layout along with US layout, you may need to edit <tt>/etc/X11/xorg.conf</tt>. This will make "us" the first and "mn" a second layout: |
||
⚫ | |||
⚫ | |||
XkbVariant "olpc2,olpc" |
XkbVariant "olpc2,olpc" |
||
<pre> |
<pre> |
||
Line 26: | Line 25: | ||
name[Group1]= "Mongolia"; |
name[Group1]= "Mongolia"; |
||
lollipop |
|||
key <TLDE> { [ equal, plus, degree ] }; |
|||
key <AE01> { [ 1, numerosign, multiply ] }; |
|||
key <AE02> { [ 2, minus, division ] }; |
|||
key <AE03> { [ 3, quotedbl, plusminus ] }; |
|||
key <AE04> { [ 4, U20ae, notsign ] }; // Tugrik sign |
|||
key <AE05> { [ 5, colon, NoSymbol ] }; |
|||
key <AE06> { [ 6, period, notequal ] }; |
|||
key <AE07> { [ 7, underscore, ampersand ] }; |
|||
key <AE08> { [ 8, comma, asterisk ] }; |
|||
key <AE09> { [ 9, percent, bracketleft ] }; |
|||
key <AE10> { [ 0, question, bracketright ] }; |
|||
key <AE11> { [ Cyrillic_ie, Cyrillic_IE, X ] }; |
|||
key <AE12> { [ Cyrillic_shcha, Cyrillic_SHCHA, L ] }; |
|||
key <AD01> { [ Cyrillic_ef, Cyrillic_EF, apostrophe ] }; |
|||
key <AD02> { [ Cyrillic_tse, Cyrillic_TSE, grave ] }; |
|||
key <AD03> { [ Cyrillic_u, Cyrillic_U, EuroSign ] }; |
|||
key <AD04> { [ Cyrillic_zhe, Cyrillic_ZHE, registered ] }; |
|||
key <AD05> { [ Cyrillic_e, Cyrillic_E, trademark ] }; |
|||
key <AD06> { [ Cyrillic_en, Cyrillic_EN, yen ] }; |
|||
key <AD07> { [ Cyrillic_ghe, Cyrillic_GHE, doublelowquotemark ] }; |
|||
key <AD08> { [ Cyrillic_sha, Cyrillic_SHA, leftdoublequotemark ] }; |
|||
key <AD09> { [ Cyrillic_u_straight,Cyrillic_U_straight,rightdoublequotemark] }; |
|||
key <AD10> { [ Cyrillic_ze, Cyrillic_ZE, NoSymbol ] }; |
|||
key <AD11> { [ Cyrillic_ka, Cyrillic_KA, braceleft ] }; |
|||
key <AD12> { [ Cyrillic_hardsign, Cyrillic_HARDSIGN, braceright ] }; |
|||
key <AC01> { [ Cyrillic_shorti, Cyrillic_SHORTI, mu ] }; |
|||
key <AC02> { [ Cyrillic_yeru, Cyrillic_YERU, sterling ] }; |
|||
key <AC03> { [ Cyrillic_be, Cyrillic_BE, dollar ] }; |
|||
key <AC04> { [ Cyrillic_o_bar, Cyrillic_O_bar, rightdoublequotemark ] }; |
|||
key <AC05> { [ Cyrillic_a, Cyrillic_A, Cyrillic_yeru ] }; |
|||
key <AC06> { [ Cyrillic_ha, Cyrillic_HA, Cyrillic_YERU ] }; |
|||
key <AC07> { [ Cyrillic_er, Cyrillic_ER, Cyrillic_e ] }; |
|||
key <AC08> { [ Cyrillic_o, Cyrillic_O, Cyrillic_E ] }; |
|||
key <AC09> { [ Cyrillic_el, Cyrillic_EL, numerosign ] }; |
|||
key <AC10> { [ Cyrillic_de, Cyrillic_DE, section ] }; |
|||
key <AC11> { [ Cyrillic_pe, Cyrillic_PE, ellipsis ] }; |
|||
key <BKSL> { [ exclam, bar, bar ] }; |
|||
key <LSGT> { [ parenleft, parenright, NoSymbol ] }; |
|||
key <AB01> { [ Cyrillic_ya, Cyrillic_YA, emdash ] }; |
|||
key <AB02> { [ Cyrillic_che, Cyrillic_CHE, endash ] }; |
|||
key <AB03> { [ Cyrillic_io, Cyrillic_IO, copyright ] }; |
|||
key <AB04> { [ Cyrillic_es, Cyrillic_ES, NoSymbol ] }; |
|||
key <AB05> { [ Cyrillic_em, Cyrillic_EM, NoSymbol ] }; |
|||
key <AB06> { [ Cyrillic_i, Cyrillic_I, less ] }; |
|||
key <AB07> { [ Cyrillic_te, Cyrillic_TE, greater ] }; |
|||
key <AB08> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN, guillemotleft ] }; |
|||
key <AB09> { [ Cyrillic_ve, Cyrillic_VE, guillemotright ] }; |
|||
key <AB10> { [ Cyrillic_yu, Cyrillic_YU, backslash ] }; |
|||
// End alphanumeric section |
|||
key <SPCE> { [ space, space, nobreakspace ] }; |
|||
include "level3(ralt_switch)" |
|||
}; |
|||
partial alphanumeric_keys |
|||
xkb_symbols "olpc" { |
|||
// Contact: Walter Bender <walter@laptop.org> |
|||
include "mn(basic)" |
|||
key <BKSL> { [ backslash, bar, exclam ] }; |
|||
key <I219> { [ ISO_Next_Group, ISO_Prev_Group ] }; // language key for OLPC |
|||
}; |
|||
</pre> |
|||
[[Category:Keyboard]] |
Latest revision as of 17:26, 14 October 2011
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
Mongolian Keyboard
OLPC section of the XKB symbol file
To use the XKB Mongolian layout along with US layout, you may need to edit /etc/X11/xorg.conf. This will make "us" the first and "mn" a second layout: ASDFG XkbLayout "us,mn"
XkbVariant "olpc2,olpc"
// $XKeyboardConfig: xkbdesc/symbols/mn,v 1.4 2004/12/22 21:51:19 svu Exp $ // based on: // Mongolian standard keyboard // Author Sanlig Badral <badral@chinggis.com> // 2002/12/7 Version 1.0 partial default alphanumeric_keys xkb_symbols "basic" { name[Group1]= "Mongolia"; lollipop