Linux: Set System Keyboard Layout ⌨
How to set keyboard layout for console? (the system layout, default keyboard layout)
edit the file
a easier way is:
# linux, change system keyboard layout sudo dpkg-reconfigure keyboard-configuration
that'll start a text-based GUI, and you go thru it to set keyboard and default layout.