|
From: Ruben F. <par...@gm...> - 2006-06-28 22:14:36
|
> But some bug may still exist in the X evdev driver
> as hungarian layout doesn't work correctly.
> E.g. Option "XkbModel" "pc105" makes RightAlt
> behave as Enter and without it (e.g. working as pc104),
> my i-acute button doesn't work.
>
Indeed. But if you create aliases for the right keys, things _should_
work. At least with belgian and azerty layout, it works.
I added the following in /usr/share/X11/xkb/keycodes/aliases
xkb_keycodes "evdev" {
<RCTL> = 105;
<RALT> = 108;
<LWIN> = 133;
<RWIN> = 134;
<MENU> = 135;
<PRSC> = 107;
<SYRQ> = 107;
<PAUS> = 127;
<BRK> = 127;
<INS> = 118;
<HOME> = 110 ;
<PGUP> = 112;
<DELE> = 119;
<END> = 115;
<PGDN> = 117;
<UP> = 111;
<LEFT> = 113;
<DOWN> = 116;
<RGHT> = 114;
<KPDV> = 106;
<KPEN> = 104;
};
You should look at the output of "xke" to find out which keys are mapped
wrong. I tried all keys who were mapped wrongly, and compared to a
working keymap. Then I created these aliases.
|