Checking the Layout configuration: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 21: | Line 21: | ||
LANG="en_US.UTF-8" |
LANG="en_US.UTF-8" |
||
*LANG="{two letter language code}_{two letter country code}.UTF-8" (the country code us only used if there are multiple countries with that language) |
*LANG="{two letter language code}_{two letter country code}.UTF-8" (the country code us only used if there are multiple countries with that language) |
||
[http://www.bcpl.net/~j1m5path/isocodes.html country codes] |
|||
See also [[Olpc-utils]] for implementation details |
See also [[Olpc-utils]] for implementation details |
||
Line 33: | Line 34: | ||
*The XKB_LAYOUT is the two letter country code of the laptop. [http://www.bcpl.net/~j1m5path/isocodes.html country codes] |
*The XKB_LAYOUT is the two letter country code of the laptop. [http://www.bcpl.net/~j1m5path/isocodes.html country codes] |
||
*Changing this will change the keyboard mapping that the laptop uses. |
*Changing this will change the keyboard mapping that the laptop uses. |
||
*You can create a file /home/olpc/.kbd with per-user overrides of the system defaults. |
|||
See also [[Olpc-utils]] for implementation details |
See also [[Olpc-utils]] for implementation details |
Revision as of 21:01, 18 December 2007
Check the manufacturing Data
(information that comes with the laptop, and should state what language it should be in)
- Boot into the ok prompt
- type: .mfg-data
- next to LA should be the code for the three letter country code of the laptop
Changing mfg data (with q2c27a only)
You can't easily do this with the firmware we make available to the public, though the tag editing page does explain how.
- Install special firmware
- Reboot holding the X game button and then hit escape to get to the OK prompt
- Type 'change-tag TN <value string>' where TN is the two letter tag and value string is the new value
Example: change-tag LA RUS (changes the laptop to russian)
Check the Internationalization File
- In a terminal, type: cat /home/olpc/.i18n
- The i18n file will look something like:
LANG="en_US.UTF-8"
- LANG="{two letter language code}_{two letter country code}.UTF-8" (the country code us only used if there are multiple countries with that language)
See also Olpc-utils for implementation details
Check the keyboard mappings
- In a terminal, type: cat /etc/sysconfig/keyboard
- The keyboard file will look something like:
KEYTABLE="us" XKB_MODEL="olpc" XKB_LAYOUT="us" XKB_VARIANT="olpc"
- The XKB_LAYOUT is the two letter country code of the laptop. country codes
- Changing this will change the keyboard mapping that the laptop uses.
- You can create a file /home/olpc/.kbd with per-user overrides of the system defaults.
See also Olpc-utils for implementation details