how exactly "/etc/default/keyboard" is used to set keymap for Xorg?
by IlyaK from LinuxQuestions.org on (#5D8HT)
Hello.
In vanilla **nix there are two separate tools used to set keymap for Xorg and console.
For linux, loadkeys(1) is used for console.
And Xkbd is used for Xorg by setting keymap in xorg.conf/setxkbmap.
But in Debian, both settings are stored in keyboard(5).
According to manual, settings go to the udev (64-xorg-kbd.rules) and then Xorg reads settings from udev.
Quote:
https://wiki.debian.org/XStrikeForce/InputHotplugGuide
So, my question is: is it something debian-specific?
Did debian people hack Xorg to make it read data from udev?


In vanilla **nix there are two separate tools used to set keymap for Xorg and console.
For linux, loadkeys(1) is used for console.
And Xkbd is used for Xorg by setting keymap in xorg.conf/setxkbmap.
But in Debian, both settings are stored in keyboard(5).
According to manual, settings go to the udev (64-xorg-kbd.rules) and then Xorg reads settings from udev.
Quote:
There is a hack in the X server which makes it read XKB options from udev or hal when a keyboard device.. |
So, my question is: is it something debian-specific?
Did debian people hack Xorg to make it read data from udev?