xkb issues with X.Org 7.1

Stefan Dirsch sndirsch at suse.de
Thu Jul 13 08:25:36 PDT 2006


On Thu, Jul 13, 2006 at 04:12:23PM +0200, Stefan Dirsch wrote:
> On Thu, Jul 13, 2006 at 04:32:14PM +0300, Daniel Stone wrote:
> > On Thu, Jul 13, 2006 at 03:22:52PM +0200, Stefan Dirsch wrote:
> > > # Xorg
> > > [...]
> > >     xkb_keycodes             { include "xfree86+aliases(qwertz)" };
> > >     xkb_types                { include "complete" };
> > >     xkb_compatibility        { include "complete" };
> > >     xkb_symbols              { include "pc/pc(pc105)+pc/de(nodeadkeys)" };
> > >     xkb_geometry             { include "pc(pc105)" };
> > > expected keysym, got XF86_Switch_VT_1: line 8 of xfree86
> > > expected keysym, got XF86_Switch_VT_2: line 11 of xfree86
> > > expected keysym, got XF86_Switch_VT_3: line 14 of xfree86
> > > expected keysym, got XF86_Switch_VT_4: line 17 of xfree86
> > > expected keysym, got XF86_Switch_VT_5: line 20 of xfree86
> > > expected keysym, got XF86_Switch_VT_6: line 23 of xfree86
> > > expected keysym, got XF86_Switch_VT_7: line 26 of xfree86
> > > expected keysym, got XF86_Switch_VT_8: line 29 of xfree86
> > > expected keysym, got XF86_Switch_VT_9: line 32 of xfree86
> > > expected keysym, got XF86_Switch_VT_10: line 35 of xfree86
> > > expected keysym, got XF86_Switch_VT_11: line 38 of xfree86
> > > expected keysym, got XF86_Switch_VT_12: line 41 of xfree86
> > > expected keysym, got XF86_Ungrab: line 45 of xfree86
> > > expected keysym, got XF86_ClearGrab: line 48 of xfree86
> > > expected keysym, got XF86_Next_VMode: line 51 of xfree86
> > > expected keysym, got XF86_Prev_VMode: line 54 of xfree86
> > 
> > xkbcomp or libX11 (I can't remember which) can't find XKeySymDB, which
> > it generally expects in ${datadir}/X11.
> 
> Thanks a lot for the hint. But XKeysymDB is already in /usr/share/X11
> and I even can't see xkbcomp/setxkbmap trying to open it via strace.
> Setting XKEYSYMDB environment variable to the file doesn't help
> either. :-(

Looks like the Xserver is calling xkbcomp (during startup) and when
setxkbmap is used and it definitely improves the situation to use


# XKEYSYMDB=/usr/share/X11/XKeysymDB X
[...]
    xkb_keycodes             { include "xfree86+aliases(qwertz)" };
    xkb_types                { include "complete" };
    xkb_compatibility        { include "complete" };
    xkb_symbols              { include "pc/pc(pc105)+pc/de(nodeadkeys)" };
    xkb_geometry             { include "pc(pc105)" };
expected keysym, got dead_diaresis: line 143 of pc/de
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols

Indeed "dead_diaresis" is not listed in XKeysymDB and I've seen the other
warning before.

I still need to figure out, why the Xserver searches for XKeysymDB at
the wrong place ...

Best regards,
Stefan

Public Key available
------------------------------------------------------
Stefan Dirsch (Res. & Dev.)   SUSE LINUX Products GmbH
Tel: 0911-740 53 0            Maxfeldstraße 5
FAX: 0911-740 53 479          D-90409 Nürnberg
http://www.suse.de            Germany 
------------------------------------------------------



More information about the xorg mailing list