How to Add and Switch Keyboard Layout in LXDE ?
Lubuntu is good. Actually LXDE is good. I love its simplicity. One tricky thing is though how to add a keyboard layout on Lubuntu/LXDE (if you didn’t specify an additional language at installation). To configure keyboard layouts a big flaw of LXDE. So here is what I did to add a new keyboard layout.
1. Add a layout indicator to the panel
– Right click on the Panel
– Add/Remove panel items
– Add
– Select “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 Bangla. 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 scroll down and add the following line (in new line):
@setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,bd
Save file.
3. Logout and relogin.
Press alt+shift to see whether the layout changes or not. Also you can just click on panel layout icon to change the layout. It should change.