I would like to prepare a migration script for kbd, but I don't know the mechanism of assigning the locale default keymap in X. Could you give me a hint? Is it done by YaST during installation, by a display manager or by GNOME/KDE?