Switch Keyboard Layout on Linux Mint 12 LXDE

I normally use the US-Dvorak keyboard layout, but for some typing in foreign languages, I like to switch back to the basic US keyboard layout. On other Linux distros it’s I had use the keyboard setting graphic user interface to set up the two US keyboard layouts, and then assign a key combination to switch between the two (personally, I like to hold down both the left and right shift-keys for the switch.)

However, on Linux Mint 12 LXDE, I could not find a graphic interface that would allow me to load the two keyboard layouts and assign the switch key combo.

Here’s what I found out about setting my desire layouts and hot-key the manual way:

Per session setting, at the command terminal use the setxkbmap command:

setxkbmap -layout "us,us" -variant "dvorak,basic" -option "grp:shifts_toggle" 

For a more permanent configuration, edit the /etc/default/keyboard file and change the XKB-variables:

XKBMODEL="pc105"
XKBLAYOUT="us,us"
XKBVARIANT="dvorak,basic"
XKBOPTIONS="grp:shifts_toggle"

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.