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

All Gurus once were Newbies
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. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help

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

Postby Zorba on 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
Image
User avatar
Zorba
Level 8
Level 8
 
Posts: 2336
Joined: Tue May 29, 2012 10:12 pm
Location: Tunisia

Linux Mint is funded by ads and donations.
 

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

Postby Jim1938 on Tue Dec 04, 2012 4:04 am

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.
Wirth's law - Software is getting slower more rapidly than hardware becomes faster.
User avatar
Jim1938
Level 2
Level 2
 
Posts: 79
Joined: Thu Nov 29, 2012 8:49 pm
Location: USA

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

Postby jmpaq on Wed Apr 24, 2013 8:19 am

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
jmpaq
Level 1
Level 1
 
Posts: 3
Joined: Fri Mar 08, 2013 10:51 am


Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot], tgaddo and 44 guests