Software >> OS >> Unix >> Linux >> Ubuntu >>  How to change the keyboard layout and language

If logged in as root

# dpkg-reconfigure keyboard-configuration

If not root

$ sudo dpkg-reconfigure keyboard-configuration