5

And I do not care about the console here (I care about X11)...

I see in /var/log/Xorg.0.log that my X-server picks up xkb_rules evdev from somewhere I can’t find.

It also seems to take xkb_model and xkb_layout from the config file /etc/default/keyboard. And I’m asking myself, is that hardcoded in X or the evdev driver?? The man-pages don’t mention that file, as usual... :-(

So, where is the code that connects that file to X?

1 Answers1

4

It seems that /lib/udev/rules.d/64-xorg-xkb.rules is responsible to put it in the udev database. I guess the evdev driver picks it up from there. (Udev maintains an in-memory(?) database, and the driver reads the entries related to “input”.)

The application of the rules “evdev” is probably hardcoded in that driver. (I.e. xkb_model and xkb_layout is from udev, but xkb_rules hardcoded, I believe.)