I need to change layout of keyboard while working in console in Linux. I need to setup English layout as default for console. How to do it?
To change your keyboard layout fast, just install setxkbmap with:
sudo apt-get install x11-xkb-utils
After this you can always change the keyboard layout with:
To do this automatically every time, extend your
echo "setxkbmap us" >> ~/.bashrc
Now, open a new console and the US keyboard layout is activated. Don't worry if the small keyboard layout icon in the Ubuntu panel does not change.