Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

In GNOME's keyboard settings there used to be an "Apply System-Wide" option, but in Oneiric this is now no longer the case.

If I use the keyboard settings to change my keyboard layout, the changes are applied only in my session; on the login screen, the old keyboard layout still applies.

How can I apply a different keyboard layout to my entire system?

share|improve this question
up vote 8 down vote accepted

You might want to try the workaround suggested on the launchpad bug.

  1. Edit file /etc/default/keyboard changing the lines:

  2. Run in terminal(ALT+T) sudo dpkg-reconfigure console-setup

You can find a list of all the available keyboard layouts in the text file /usr/share/X11/xkb/rules/base.lst.

share|improve this answer
Just given that a try, and it does the job perfectly. Thanks! – Josh Oct 19 '11 at 16:34

You can follow this steps:

sudo su
dpkg-reconfigure console-data
pkg-reconfigure keyboard-configuration
service keyboard-setup restart

Sometimes (ubuntu login screen for me) just running dpkg-reconfigure console-data is not sufficient.

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.