OLPC Khmer Keyboard: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 35: Line 35:


So if you are using the Write activity in Sugar, you can switch between the keyboard sets by pressing the "Multiply/Divide" key as you enter characters in the document.
So if you are using the Write activity in Sugar, you can switch between the keyboard sets by pressing the "Multiply/Divide" key as you enter characters in the document.

To use with Gnome desktop, see [[Release_notes/13.2.6#Keyboard_language_switch_key_does_not_work_in_Gnome|a workaround]].


===Limitations===
===Limitations===


* on XO laptops with mechanical keyboard, there is no "Multiply/Divide" key, but another key can be set up.
* this only works in the Sugar applications, not in Gnome applications, and we don't know why yet,
* on XO laptops with mechanical keyboard, there is no "Multiply/Divide" key.


[[Category: OLPC Cambodia]]
[[Category: OLPC Cambodia]]

Revision as of 04:40, 24 December 2015

  This page is monitored by the OLPC team.


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



NB: Please be aware that changes to this keyboard are in discussion. See this localization list thread. cjl 04:15, 16 October 2008 (UTC). The proposed new keyboard is shown as well as the current keyboard. Kimquirk 01:46, 3 November 2008 (UTC)


Khmer keyboard layout proposal (new)

Khmer (proposed)


Khmer keyboard layout (current)

Khmer (final)


OLPC section of the XKB symbol file

To use the Khmer layout along with the standard US layout, edit the /etc/sysconfig/keyboard file as follows:

The original contents of the file look like this:

 XKBMODEL="olpc"
 XKBLAYOUT="us"
 XKBVARIANT="olpc"

Edit the file (eg with sudo gedit ...) so that it looks like this:

 XKBMODEL="olpc"
 XKBLAYOUT="us,kh"
 XKBVARIANT="olpc2,olpc"
 

Once you have edited and saved the file, restart the XO. Then, when using Sugar, to change the keyboard from US to Kh, press the "Multiply/Divide" key (far right, second row from bottom).

So if you are using the Write activity in Sugar, you can switch between the keyboard sets by pressing the "Multiply/Divide" key as you enter characters in the document.

To use with Gnome desktop, see a workaround.

Limitations

  • on XO laptops with mechanical keyboard, there is no "Multiply/Divide" key, but another key can be set up.