LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Editing keyboard layout, or Has xkb a cache? (http://www.linuxquestions.org/questions/linux-newbie-8/editing-keyboard-layout-or-has-xkb-a-cache-808381/)

Esquirol 05-17-2010 02:05 PM

Editing keyboard layout, or Has xkb a cache?
 
Some days ago I modified my Russian keyborad layout. I have added two new lines to the suitable section of /usr/share/X11/xkb/symbols/ru :

Code:

key <AC10> {[ Cyrillic_zhe, Cyrillic_ZHE, 0x0100005b, 0x0100007c ]};
key <AC11> {[ Cyrillic_e, Cyrillic_E, 0x0100005d, 0x0100007c ]};

Of course, it didn't start working immediately. Reboot. No effect. But one or two days later (after some reboots) the keyboard layout began to work exactly as prescribed!

Why the delay happened? Has xkb a cache? Is it possible to switch on modified keyboard layout files immediately?

koukasio 12-08-2011 07:10 AM

Yes, the cache is in /var/lib/xkb .It has caused a lot of pain till I find out what's going on...

DavidMcCann 12-08-2011 11:30 AM

Quote:

Originally Posted by koukasio (Post 4545059)
Yes, the cache is in /var/lib/xkb .It has caused a lot of pain till I find out what's going on...

That's interesting. Which distro are you using? I've rewritten keyboard drivers in Red Hat based and Slackware based distros, and they always take effect immediately (even if only to revert to USA because I've left a comma out). A quick check on my current systems shows nothing in that directory but a README.


All times are GMT -5. The time now is 03:38 AM.