How to add and switch keyboard layout LXDE - Linux Mint 14
Posted: Mon Dec 03, 2012 2:01 pm
1) Add a layout indicator to the panel - right click on the panel - Add / remove panel items - Panel Applets - Add - Keyboard Layout Switcher.
A switcher will be added to the panel, in Panel Applets you can choose the position for the switcher you like.
2) Next is to add a new layout. For example, I need Arabic. This will be done by editing a configuration file. Run:
gksu leafpad /etc/xdg/lxsession/LXDE/autostart
Enter your administrative password to open up the document with root privileges. Then find the line @lxpanel --profile LXDE and add the following:
@setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll ar,fr
Press alt+shift to see whether the layout changes or not. If not, logout then login again.
Layouts Symbols List:
us English (US)
ad Catalan
af Afghani
ara Arabic
al Albanian
am Armenian
at German (Austria)
az Azerbaijani
by Belarusian
be Belgian
bd Bengali
in Indian
ba Bosnian
br Portuguese (Brazil)
bg Bulgarian
ma Arabic (Morocco)
cm English (Cameroon)
mm Burmese
ca French (Canada)
cd French (Democratic Republic of the Congo)
cn Chinese
hr Croatian
cz Czech
dk Danish
nl Dutch
bt Dzongkha
ee Estonian
ir Persian
iq Iraqi
fo Faroese
fi Finnish
fr French
gh English (Ghana)
gn French (Guinea)
ge Georgian
de German
gr Greek
hu Hungarian
is Icelandic
il Hebrew
it Italian
jp Japanese
kg Kyrgyz
kh Khmer (Cambodia)
kz Kazakh
la Lao
latam Spanish (Latin American)
lt Lithuanian
lv Latvian
mao Maori
me Montenegrin
mk Macedonian
mt Maltese
mn Mongolian
no Norwegian
pl Polish
pt Portuguese
ro Romanian
ru Russian
rs Serbian (Cyrillic)
si Slovenian
sk Slovak
es Spanish
se Swedish
ch German (Switzerland)
sy Arabic (Syria)
tj Tajik
lk Sinhala (phonetic)
th Thai
tr Turkish
tw Taiwanese
ua Ukrainian
gb English (UK)
uz Uzbek
vn Vietnamese
kr Korean
nec_vndr/jp Japanese (PC-98xx Series)
ie Irish
pk Urdu (Pakistan)
mv Dhivehi
za English (South Africa)
epo Esperanto
np Nepali
ng English (Nigeria)
et Amharic
sn Wolof
brai Braille
tm Turkmen
ml Bambara
tz Swahili (Tanzania)
ke Swahili (Kenya)
bw Tswana
ph Filipino
A switcher will be added to the panel, in Panel Applets you can choose the position for the switcher you like.
2) Next is to add a new layout. For example, I need Arabic. This will be done by editing a configuration file. Run:
gksu leafpad /etc/xdg/lxsession/LXDE/autostart
Enter your administrative password to open up the document with root privileges. Then find the line @lxpanel --profile LXDE and add the following:
@setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll ar,fr
Press alt+shift to see whether the layout changes or not. If not, logout then login again.
Layouts Symbols List:
us English (US)
ad Catalan
af Afghani
ara Arabic
al Albanian
am Armenian
at German (Austria)
az Azerbaijani
by Belarusian
be Belgian
bd Bengali
in Indian
ba Bosnian
br Portuguese (Brazil)
bg Bulgarian
ma Arabic (Morocco)
cm English (Cameroon)
mm Burmese
ca French (Canada)
cd French (Democratic Republic of the Congo)
cn Chinese
hr Croatian
cz Czech
dk Danish
nl Dutch
bt Dzongkha
ee Estonian
ir Persian
iq Iraqi
fo Faroese
fi Finnish
fr French
gh English (Ghana)
gn French (Guinea)
ge Georgian
de German
gr Greek
hu Hungarian
is Icelandic
il Hebrew
it Italian
jp Japanese
kg Kyrgyz
kh Khmer (Cambodia)
kz Kazakh
la Lao
latam Spanish (Latin American)
lt Lithuanian
lv Latvian
mao Maori
me Montenegrin
mk Macedonian
mt Maltese
mn Mongolian
no Norwegian
pl Polish
pt Portuguese
ro Romanian
ru Russian
rs Serbian (Cyrillic)
si Slovenian
sk Slovak
es Spanish
se Swedish
ch German (Switzerland)
sy Arabic (Syria)
tj Tajik
lk Sinhala (phonetic)
th Thai
tr Turkish
tw Taiwanese
ua Ukrainian
gb English (UK)
uz Uzbek
vn Vietnamese
kr Korean
nec_vndr/jp Japanese (PC-98xx Series)
ie Irish
pk Urdu (Pakistan)
mv Dhivehi
za English (South Africa)
epo Esperanto
np Nepali
ng English (Nigeria)
et Amharic
sn Wolof
brai Braille
tm Turkmen
ml Bambara
tz Swahili (Tanzania)
ke Swahili (Kenya)
bw Tswana
ph Filipino