The combination of commands that worked for me were: $ sudo dpkg-reconfigure keyboard-configuration $ setupcon $ sudo update-initramfs -u