Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 8 down vote accepted
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|improve this answer
yups that worked good ! i also changes the LAYOUT="gb" and everything works good ! thanks – gfc Nov 4 '13 at 12:33

In the terminal try

su - gnome-keyboard-properties


if the default Gmone2 system /administration / keyboard

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.