server-$DISPLAY.xkm no longer written?

Stefan Dirsch sndirsch at suse.de
Fri Aug 4 04:14:47 PDT 2006


On Fri, Aug 04, 2006 at 01:51:31PM +0300, Daniel Stone wrote:
> On Fri, Aug 04, 2006 at 01:51:07PM +0300, Daniel Stone wrote:
> > On Fri, Aug 04, 2006 at 12:40:55PM +0200, Stefan Dirsch wrote:
> > > On Fri, Aug 04, 2006 at 11:06:44AM +0300, Daniel Stone wrote:
> > > > On Fri, Aug 04, 2006 at 09:44:29AM +0200, Stefan Dirsch wrote:
> > > > > I'm using xorg-server 1.1.99.3 and noticed that server-0.xkm is no
> > > > > longer written. When trying to load a keyboard layout, which does
> > > > > *not* exist I see
> > > > > 
> > > > >   (EE) Error loading keymap /var/lib/xkb/compiled/server-0.xkm
> > > > > 
> > > > > in the Xserver logfile although I did specify
> > > > > '--with-xkb-output=/var/lib/xkb/compiled' for building the Xserver.
> > > > > and /var/lib/xkb/compiled directory does exist. Anyone who can
> > > > > reproduce this issue?
> > > > 
> > > > Take a look at what xkbcomp's doing; if you pass --enable-debug, you
> > > > might get a bunch of useful output.  You might not.
> > > 
> > > Thanks. This doesn't seem to be an option for xkbcomp. It's also not
> > > an option for the Xserver. Using it as configure option for building
> > > xkbcomp doesn't change anything. I didn't check yet if it changes
> > > anything when using it as configure option for building the Xserver.
> > 
> > Hm, even in .3?  Odd.  Try passing CFLAGS="-DDEBUG" to configure,
> > then.

I tried, but it's still the same xkbcomp/Xserver output.

> > > I'm not sure how the Xserver calls xkbcomp, when I'm doing e.g.
> > > "setxkbmap de". So could give me a hint how I need to call xkbcomp
> > > to reproduce this issue manually? Thanks.
> > 
> > Try setxkbmap -layout de | xkbcomp - :0
> 
> Sorry, that should be:
> setxkbmap -layout de -print | xkbcomp - :0

Thanks. But this of course will not work with an invalid keyboard map.

# setxkbmap -layout asdf -print | xkbcomp - :0 2>&1
Error:            Can't find file "asdf" for symbols include
                  Exiting
                  Abandoning symbols file "(null)"
Error:            success in unknown
                  Couldn't write keyboard description to :0

It works well with a valid map though:

# setxkbmap -layout de -print
Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
                  Ignoring extra symbols
Warning:          No symbols defined for <SYRQ> (keycode 92)
Warning:          No symbols defined for <BRK> (keycode 114)

My initial question has been, why the Xserver no longer uses the
compiled dir. Or is this a misleading error message?

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