Thursday, March 15, 2012

Keyboard layouts settings in Lubuntu

I sometimes use LXDE/LUBUNTU desktop. To set the keyboard layouts I followed this procedure:

Check current xkb parameters with:

setxkbmap -query

Set us,fr,ro layout with variants default (us), (fr) and standard (ro) that can be changed with ALT-SHIFT keys:

setxkbmap -layout "us,fr,ro" -variant ",,std" -option "grp:alt_shift_toggle"

To test if all are OK and make all changes permanent:

gksudo gedit /etc/default/keyboard

Change parameters to the following:

Code:

XKBMODEL="pc105"
XKBLAYOUT="us,fr,ro"
XKBVARIANT=",,std"
XKBOPTIONS="grp:alt_shift_toggle"

Save, exit, reboot.

2 comments:

  1. but in this way, chnaging from English to the second language is with right shift, but from the second one to English is with left shift!!

    how can i solve this in lxde??
    i mean i want change both side with right shift

    ReplyDelete
  2. this settings are for left shift

    ReplyDelete