[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#646987: /usr/bin/xinit: xinit fails with xkbcomp could not be invoked



On Fri, Nov  4, 2011 at 13:41:02 -0400, Brenda J. Butler wrote:

> 
> Coming back to this - I see that the command line will be printed out
> if a debug flag is set - how do I set it?
> 
> in ddxList.c on lines 206-207:
> 
>         if (xkbDebugFlags)
>             DebugF("[xkb] xkbList executes: %s\n",buf);
> 
> How can I set xbkDebugFlags?  I'd like to try the exact invocation
> at the command line to see what happens.
> 

#include <X11/Xlib.h>
#include <X11/XKBlib.h>

int main() {
        Display *dpy = XOpenDisplay(NULL);

        if (!dpy)
                return 1;

        return XkbSetDebuggingFlags(dpy, 1, 1, NULL, 0, 0, NULL, NULL) != True;
}

(link with -lX11)

Did I mention XKB was made of crazy?

Cheers,
Julien



Reply to: