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
At the $ prompt type:
sudo geany /etc/default/keyboard [Enter]
The Geany text editor will pop up, look for the following:
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.