Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

2 Answers 2

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:

    XKBMODEL="pc105"
    XKBLAYOUT="us"
    XKBVARIANT="intl"
    XKBOPTIONS=""
    
  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

 
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.