keyboard_russian

Different countries use different keyboard layouts. As default, the United Kingdom keyboard is set on your Raspberry Pi. In the following, we will go through the quick and efficient steps to adjust the keyboard to your needs.

The simplest way is to manually edit the text file /etc/default/keyboard in your terminal. Do this by using your favorite editor:

pi@raspberrypi:~ $ sudo nano /etc/default/keyboard

The file looks like this:

# KEYBOARD CONFIGURATION FILE
# Consult the keyboard(5) manual page.
 
XKBMODEL="pc105"
XKBLAYOUT="gb"
XKBVARIANT=""
XKBOPTIONS=""
 
BACKSPACE="guess"

The line of interest is

XKBLAYOUT="gb"

gb stands for Great Britain. Replace gb with the string containing the two letters code for your country of interest, e.g.: fr for French. You can find the right code for your language at this link.

Now reboot your Raspberry Pi for the changes to take effect.

pi@raspberrypi:~ $ sudo reboot

And now enjoy your new keyboard setting!

Advertisements