Created
November 19, 2020 04:41
-
-
Save bhaskar253/2b4d13c57a6b8495c4ba0cbc4ad7f6c4 to your computer and use it in GitHub Desktop.
Changing Keyboard Layout on Raspberry Pi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
By default, the keyboard layout is set for UK on Raspbian OS, to set it to US following are the steps: | |
1. Launch Terminal | |
2. Open “/etc/default/keyboard” with nano (or any other editor). | |
sudo nano /etc/default/keyboard | |
The file should be like this: | |
# KEYBOARD CONFIGURATION FILE | |
# Consult the keyboard(5) manual page. | |
XKBMODEL="pc105" | |
XKBLAYOUT="gb" | |
XKBVARIANT="" | |
XKBOPTIONS="" | |
BACKSPACE="guess" | |
3. Edit XKBLAYOUT line. "gb" needs to be changed to "us". | |
XKBLAYOUT="us" | |
4. Reboot | |
sudo reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment