Configure the locale and keyboard layout in Raspbian

I have a keyboard with the spanish layout (with the “ñ” key, etc.) but Raspbian comes by default only with the english locale and keyboard layout. To make my keyboard work correctly I first added the spanish es_ES.UTF-8 locale on the system:

$ sudo dpkg-reconfigure locales

locale-01

Then configure the keyboard layout:

$ sudo dpkg-reconfigure keyboard-configuration

locale-02

Look that last option “Other” because you’ll have to use it if you want to select a language diferent than english.

locale-03

locale-04

locale-05

locale-06

You may also change the time zone to your country:

$ sudo dpkg-reconfigure tzdata

Now reboot to activate all the changes:

sudo shutdown -r now

Ref: http://wiki.bandaancha.st/C%C3%B3mo_espa%C3%B1olizar_tu_Raspberry_Pi

You might also like

Fix locale problems in Raspbian
If you get errors like this while running commands on your Raspbian:perl: warning: Setting locale...

Install script for XBMC in Raspbian
# Install XBMC sudo sh -c "echo 'deb http://archive.mene.za.net/raspbian wheezy contrib' > /etc/apt/sources.list.d/mene.list" sudo...

Enable SSH server in a headless Raspberry Pi
Raspbian come by default with SSH server deactivated so if you have a headless Raspberry Pi you won't...

Fix ‘A template that extends another one cannot have a body in …’ in Twig with Symfony2
This may be a confusing error at first but it's quite self explanatory. You can't have any HTML text...

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.