Linux: Set System Keyboard Layout

By Xah Lee. Date: ,

How to set keyboard layout for console? (the system layout, default keyboard layout)

edit the file /etc/default/keyboard

a easier way is:

# linux, change system keyboard layout
sudo dpkg-reconfigure keyboard-configuration
linux dpkg keyboard config 2013
screenshot showing one page of dpkg-reconfigure keyboard-configuration.

that'll start a text-based GUI, and you go thru it to set keyboard and default layout.