Among the most common problems that arise after installing Arch Linux, is that the keyboard layout is in English. So for us Latinos in the majority, it is not functional since the keymap we use is that of the Spanish language.
Although during the installation process we set the language in the vconsole.conf file, for some strange reason this change is not saved and when starting the system the keymap is by default in the English language.
To change the keyboard layout to the Spanish language, it is simple, it does not require much.
The first will be open a terminal and grant super user permissions to proceed to type in the terminal:
The first thing that will be to check, what configuration we have for the keymap:
localectl status System Locale: LANG=es_ES.utf8 LC_NUMERIC=es_ES.UTF-8 LC_TIME=es_ES.UTF-8 LC_MONETARY=es_ES.UTF-8 LC_PAPER=es_ES.UTF-8 LC_MEASUREMENT=es_ES.UTF-8 VC Keymap: es X11 Layout: es
Here I share some methods to be able to change the keymap in our distribution.
One of them would be, edit the vconsole.conf file to put the keyboard in Spanish, we edit it with nano:
And inside the file we will write the following:
Another method is to edit the 10-keymap.fdi file
Then with nano we edit this file:
Already inside the file we look for this line:
and we replace the "us" by "es" with what would be like this:
The last one is to edit is another file.
In this file we look for the following:
Section "InputClass"Identifier "evdev keyboard catchall" MatchIsKeyboard "on" MatchDevicePath "/dev/input/event*" Driver "evdev" EndSection
Between MatchDevicePath and Driver we put the following:
Option "XkbLayout" "es"
We reboot and we already have our keyboard layout configured.
It should be noted that this tutorial is only valid for Spanish in Spain, not in South America.