Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm new to Ubuntu. I use 12.04 Server in command line mode (no X installed) and I would like to change the keyboard layout... Thanks !

share|improve this question
Change keyboard layout to what? – Mitch Jun 24 '12 at 15:53

2 Answers

up vote 6 down vote accepted

Please try the following command:

sudo dpkg-reconfigure console-data

If it says you don't have the package, then install console-data with:

sudo apt-get install console-data

More about Locale Configuration: https://help.ubuntu.com/community/LocaleConf

share|improve this answer
Very helpful ! Thanks ! – Mike Jun 24 '12 at 19:21

After trying sudo dpkg-reconfigure console-data, I found out that it doesn't work after a reboot.

However,

sudo dpkg-reconfigure keyboard-configuration

does work after reboot and also has more options.

More info here.

share|improve this answer

Your Answer

 
discard

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.