Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-17-2010, 01:05 PM   #1
LQ Newbie
Registered: Nov 2009
Location: Russia
Distribution: Mandriva 2010
Posts: 10

Rep: Reputation: 0
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 :

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?
Old 12-08-2011, 06:10 AM   #2
LQ Newbie
Registered: Dec 2011
Posts: 1

Rep: Reputation: Disabled
Yes, the cache is in /var/lib/xkb .It has caused a lot of pain till I find out what's going on...
Old 12-08-2011, 10:30 AM   #3
Senior Member
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,627

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
Originally Posted by koukasio View Post
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.


keyboard, layout, xkb

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
editing keyboard layout (foreign languages) r00tb33r Linux - Software 4 05-13-2010 03:56 PM
How to setup xorg xkb layout options per-user? 10110111 Linux - Desktop 1 10-28-2009 02:12 PM
Slackware 13.0 x86 & x86_64 - trouble with xkb layout theget Slackware 4 09-14-2009 09:33 PM
problem creating custom xkb layout drobert Linux - Desktop 3 06-28-2008 08:21 PM
xkb layout changing Ipolit *BSD 3 02-03-2004 03:12 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration