Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Recently Ubuntu 12.04 have started not to remember my keyboard options - as image

enter image description here

I always use Caps Lock to change my layout, and it used to work fine before. But now when I log in, changing it with Caps Lock doesn't work. I have to go to options, deselect "Caps Lock", select it again, and then it starts to work.

What may cause this problem? Thanks in advance.

share|improve this question

2 Answers 2

You need change /etc/defaults/keyboard to:

XKBLAYOUT="us,ru" <-- chagne appropriate to your language

or remove any entry in it since they are interfere with GUI tool from Unity/Gnome

share|improve this answer
Thanks for the answer! I'll try it after a week when I come back from vacation. – Ivan Ivanov Aug 26 '12 at 4:22

Strange thing. I used to switch on "Use Caps Lock LED to show the alternative layout", and all was fine. The problem began when I had switched that LED off to save my wireless keyboard battery power. Now I switched it back on and everything became fine again.

It seems that Ubuntu doesn't switch layout by Caps Lock after reboot if Caps Lock LED isn't used to show the alternative layout. Could someone reproduce the bug?

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.