I want to change the keyboard to us in the console.
I am able to change the layout in the startx environment via
sudo dpkg-reconfigure keyboard-configuration
but it doesn't change in the console. If I use startx and then use the lxterminal the keyboard switched to us, but after reboot to the console it doesn't.
I also changed the default file via:
sudo nano /etc/default/keyboard
and changed the gb to us.
All in all if I am in the startx environment it works in the console it doesn't. Even when it has worked in the startx environment and then logoff to the console the keyboard switches back to gb.
Hope someone can help me, I googled and had a look on other sites but couldn't change the problem.
I tried it with 2 different keyboards, both from Dell but I think it shouldn't be a fault caused by the keyboard.
invoke-rc.d keyboard-setup startafter dpkg-reconfigure, which is a little more than just editing /etc/default/keyboard … – scruss Oct 30 '14 at 02:22sudo raspi-config, changing settings plus reboot did the job just fine for me. Reference: Keyboard layout for Your country – hakre May 13 '16 at 15:43