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.

I edited /usr/share/X11/xkb/symbols/fr to customize the french-dvorak layout. I then selected french-dvorak layout (instead of french).

Now when I restart Ubuntu, I end up with the non-edited french-dvorak (my changes are ignored).

But if I switch to french, then back to french-dvorak, my changes are now taken into account...

How can I have my custom french-dvorak on startup? Is there some sort of cached version of the keyboard layout?

I don't understand how it can switch me to the official french-dvorak because I changed it, so it should no longer exist.

share|improve this question
add comment

2 Answers

It seems Ubuntu stores cached copies of the keyboard layouts in /var/lib/xkb.

To solve this issue, delete the xkm files in /var/lib/xkb: sudo rm /var/lib/xkb/*.xkm and logout and in again.

This solved the issue for me.

share|improve this answer
add comment

Try with

sudo dpkg-reconfigure keyboard-configuration

and then

sudo dpkg-reconfigure console-setup

I found that in this tutorial and it seems to work for me...

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.