DEV Community

Cover image for Change keyboard to Spanish distribution on Ubuntu Server
Sergio Peris
Sergio Peris

Posted on • Originally published at sertxu.dev

Change keyboard to Spanish distribution on Ubuntu Server

To change the keyboard distribution to Spanish on an Ubuntu Server, we must execute the following command.

sudo dpkg-reconfigure keyboard-configuration
Enter fullscreen mode Exit fullscreen mode

This command will open a wizard with multiple steps, first we should select the keyboard model, generally you will select Generic 105-key PC.

Next, we should select the country distribution, in our case Spanish.

Now we should select which key will be AltGr, usually Right Alt (AltGr).

Last, we should select which key will be the Compose Key, usually No compose key.

Once we're finished the wizard it will reconfigure the system in order to start using the new keyboard distribution.

It's recommended to restart the computer to apply the changes.

sudo reboot
Enter fullscreen mode Exit fullscreen mode

Top comments (0)