[xmodmap] Problem with e and n

Dirk Wallenstein halsmit at t-online.de
Mon Nov 16 08:28:54 PST 2009


On Sunday 15 November 2009 01:01:49 Maciej Piechotka wrote:

> Everything is working except AltGr+e/E and AltGr+n/N. What is wrong?



You probably have to change the key types. You can get the current keymap by
executing this command:

        $> xkbcomp -xkb ${DISPLAY} -o keymap.xkb

Now edit the resulting file keymap.xkb and find the sections for the keysym
assignment. They might look something like this:

key <AD03> {
   type[group1]= "FOUR_LEVEL_ALPHABETIC",
   type[group2]= "ONE_LEVEL",
   symbols[Group1]= [ e, E, EuroSign, EuroSign ],
   symbols[Group2]= [ e ]
};

key <AD09> {
    type[group1]= "FOUR_LEVEL_ALPHABETIC",
    type[group2]= "FOUR_LEVEL_ALPHABETIC",
    symbols[Group1]= [ o, O, End, End ],
    symbols[Group2]= [ o, x, y, z ]
};


You have to change the values for the type[groupX] entries. Just take the
values from the keys that work, and fill in the keysyms. 

You can install the result by executing the following command:

        $> xkbcomp keymap.xkb ${DISPLAY} 



More information about the xorg mailing list