Guillaume COEUGNET wrote:
> I don't know exactly which package is concerned (console-data, login, kdm,
> ...) and I didn't see anything in logs exept in kdm.log : --------------
> expected keysym, got circumflex: line 257 of fr
> The XKEYBOARD keymap compiler (xkbcomp) reports:
>> Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>> Ignoring extra symbols
> Errors from xkbcomp are not fatal to the X server
> --------------
> which appears to be a common error.
The warning has no consequence, but the error might.
Attached is a patch that cleanly corrects this error. Line 257
of « /usr/share/X11/xkb/symbols/fr », the symbol « circumflex » is invalid
and should be replaced by « asciicircum ».
The bug might go unnotticed if your desktop environment subsequently sets
the keymap (For example KDE has a control module for the keyboard) or
simply if you do not use the « oss_nodeadkeys » variant of the fr keymap
(which is more likely in your case).
I hope this will solve your problem in X (you mention troubles with the
login manager when you start a second session), though I doubt it.
In any case, the xkb file « /usr/share/X11/xkb/symbols/fr » is invalid and
shall be corrected.
Nicolas Brodu
--- /usr/share/X11/xkb/symbols/fr.ori 2008-07-25 18:00:34.000000000 +0200
+++ /usr/share/X11/xkb/symbols/fr 2008-07-25 18:01:19.000000000 +0200
@@ -254,7 +254,7 @@
key <AE03> { [ quotedbl, 3, numbersign, breve ] }; // " 3 # ˘
// Second row
- key <AD11> { [ circumflex, diaeresis, asciitilde, Aring ] }; // ^ ̈ ̃ Å
+ key <AD11> { [ asciicircum, diaeresis, asciitilde, Aring ] }; // ^ ̈ ̃ Å
key <AC11> { [ ugrave, percent, acute, Ugrave ] }; // ù % ' Ù
key <BKSL> { [ asterisk, mu, grave, macron ] }; // * µ ` ̄
};