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.

Recently Ubuntu 12.04 have started not to remember my keyboard options - as image http://img.ivanovs.info/XKnu0A.png

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
add comment

2 Answers 2

You need change /etc/defaults/keyboard to:

XKBMODEL="pc105"
XKBLAYOUT="us,ru" <-- chagne appropriate to your language
XKBVARIANT=","
XKBOPTIONS="grp:caps_toggle,grp_led:caps"

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
add comment

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
add comment

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.