Template:Keyboard layouts: Difference between revisions
(→X Window System: es to ne --- in example) |
(→X Window System: sorry -- the edits reverted) |
||
Line 27: | Line 27: | ||
X Window System keyboard symbol files are in /usr/share/X11/xkb/symbols. Again, from the Terminal activity (or the console), you can use the 'setxkmap' to assign a symbol table to the X Window System. |
X Window System keyboard symbol files are in /usr/share/X11/xkb/symbols. Again, from the Terminal activity (or the console), you can use the 'setxkmap' to assign a symbol table to the X Window System. |
||
setxkbmap |
setxkbmap es |
||
for |
for Spanish |
||
setxkbmap us |
setxkbmap us |
Revision as of 11:38, 17 January 2008
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; Armenian; Khmer; Pulaar
The procedure for modifying the keyboard layout on your XO is described 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 /lib/kbd/keymaps/i386. From the Terminal activity (or the console), you can use the 'loadkeys' program to assign a keymap to the the console.
loadkeys es
for Spanish
loadkeys us
for English
The
X Window System
X Window System keyboard symbol files are in /usr/share/X11/xkb/symbols. Again, from the Terminal activity (or the console), you can use the 'setxkmap' to assign a symbol table to the X Window System.
setxkbmap es
for Spanish
setxkbmap us
for US
You need to restart X to make the changes take effect (by typing Ctrl+Alt+Erase).
Making the changes permanent
The above changes are temporary. To make permanent changes, you should use the 'sugar-control-panel' program as described here.
sugar-control-panel -s language Spanish/Argentina
This changes the values in /etc/sysconfig/keyboard.
XKB_MODEL="olpc" XKB_LAYOUT="es" XKB_VARIANT="olpc" KEYTABLE="es"