Changing keyboard layout

17,891
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.

Share:
17,891
tortuga
Author by

tortuga

Updated on September 18, 2022

Comments

  • tortuga
    tortuga almost 2 years

    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.

  • tortuga
    tortuga over 10 years
    yups that worked good ! i also changes the LAYOUT="gb" and everything works good ! thanks