Tuesday, January 17, 2017

Remapping keyboard layout Rpi "gb" -> "us"



So, from the command line execute the following command;
sudo nano /etc/default/keyboard
This will present the keyboard configuration file which will look something like the following;
# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="gb"
XKBVARIANT=""
XKBOPTIONS=""

BACKSPACE="guess"
Edit the file to implement the United States character keymapping by changing the file to the following;
# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

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

BACKSPACE="guess"
Then we need to reboot the Pi to let the changes take effect;
sudo reboot

No comments: