How to Change Raspberry Pi Keyboard Layout

The default Raspberry Pi keyboard layout is “gb”. You can change to US by doing the following:

sudo nano /etc/default/keyboard

Change XKBLAYOUT="gb" to XKBLAYOUT="us".

sudo reboot

Hit CTRL+O, Hit Enter, Hit CTRL+X to Close

Jon