How to add and switch keyboard layout LXDE - Linux Mint 14

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Brahim Salem

How to add and switch keyboard layout LXDE - Linux Mint 14

Post by Brahim Salem »

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
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Jim1938

Re: How to add and switch keyboard layout LXDE - Linux Mint

Post by Jim1938 »

I don't use LCDE.
I use xfce.
So things are probably a bit different.

I didn't understand your question.
Did you have a question?

Here is how I was able to create a dual language (EN & DK) keyboard.
I change languages by pressing ctrl and shift together
with my left pinky finger. EZ PZ.

Go to ==>> etc/default/keyboard
XKBMODEL="pc105"
XKBLAYOUT="us,dk"
XKBVARIANT=""
XKBOPTIONS="grp:ctrl_shift_toggle"

This configuation stays boot after boot. I've never had it fail.

I have no icon in my panel showing the current language.
Xfce doesn't do this automatically.
I need to test your solution as I would like a language icon.
Gnome-2 desktop does this automatically in Ubuntu 10.04.
jmpaq

Re: How to add and switch keyboard layout LXDE - Linux Mint

Post by jmpaq »

Hi from a linux mint newbie.
I am running:
ISTRIB_ID=LinuxMint
DISTRIB_RELEASE=14
DISTRIB_CODENAME=nadia
DISTRIB_DESCRIPTION="Linux Mint 14 Nadia"
NAME="Ubuntu"
VERSION="12.10, Quantal Quetzal"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu quantal (12.10)"
VERSION_ID="12.10"

I want to switch between English and simplified chinese input.
1. First, since I dont have a keyboard layout on the panel I tried to add it by right clicking the bottom panel and clicked "+Add to panel". But I dont have a "keyboard layout indicator" in the pulldown list.
Any help would be greatly appreciated.

jm
Locked

Return to “Beginner Questions”