Typing " displays as @ on Raspbian

By default the keyboard layout on Raspbian is set to the UK (GB). To allow your USA keyboard to work correctly, change the keyboard layout to US.

Change the Locale to USA

dpkg-reconfigure locales
sed -i -r 's/# (en_US.*)/\1/g' /etc/locale.gen
locale-gen --purge en_US.UTF-8
echo -e 'LANG="en_US.UTF-8"\nLANGUAGE="en_US:en"\nLC_ALL="en_US.UTF-8"\n' > /etc/default/locale

Change the keyboard layout to USA

cat << EOF > /etc/default/keyboard
XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS=""

BACKSPACE="guess"
EOF
categories: raspbian | raspberrypi |