1 Apr 2013

Crunchbang Linux - change the keyboard layout

When I installed Crunchbang on my Asus Eee PC I made a mistake and selected the UK keyboard layout. I have the US layout. Now how to change the keyboard layout?

Right click on the desktop

Click Terminal

At the $ prompt type:
sudo geany /etc/default/keyboard   [Enter]

The Geany text editor will pop up, look for the following:

XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS=""

Change XKBLAYOUT= to what you want. In my case I changed from XKBLAYOUT="uk" to XKBLAYOUT="us".

Save and exit Geany.

Restart Crunchbang for the change to take effect.


Reference
http://crunchbang.org/forums/viewtopic.php?id=1103


No comments: