Linux – Changing keyboard layout

centoskeyboard-layoutlinuxlocale

I want to change the keyboard layout from US to UK through the terminal on my Linux machine. I'm running CentOS 6.4. I have tried using the loadkeys uk method, but it doesn't change the layout. It is still US.

Best Answer

loadkeys uk

As root should work.. Maybe the uk layout isn't installed on your system?

Or try to open /etc/sysconfig/keyboard and replace KEYTABLE="us" by KEYTABLE="uk", a reboot will be necessary.

Related Question