server-$DISPLAY.xkm no longer written?

Stefan Dirsch sndirsch at suse.de
Fri Aug 4 12:29:59 PDT 2006


On Fri, Aug 04, 2006 at 02:57:58PM -0400, Kevin E Martin wrote:
> On Fri, Aug 04, 2006 at 01:14:47PM +0200, Stefan Dirsch wrote:
> > My initial question has been, why the Xserver no longer uses the
> > compiled dir. Or is this a misleading error message?
> 
> It's a slightly misleading error message, but it actually does use the
> compiled dir.  What happens is that xkbcomp creates the compiled xkm
> file in the compiled dir.  Next, the server attempts to read this newly
> created file, and then immediately deletes the xkm file whether or not
> it had valid data.  So, the compiled dir is used, and the file is there,
> but only temporarily between the time xkbcomp creates it and the server
> reads it.
> 
> See XkbDDXLoadKeymapByNames() and XkbDDXCompileKeymapByNames() in
> xkb/ddxLoad.c for more details.

Thanks *a lot* for detailed explanation!

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