* Christian Perrier [2004-06-26 14:33:12+0200] > Currently, we probably all know that choosing a non US keyboard during > Debian Installer and then installing X, all this at high debconf > priority (with X configuration debconf questions about keyboard *not* > asked) will end with a strange system where the user has chosen, say a > french keyboard.....but will have a graphical login screen with a US > keyboard layout. > > As a consequence, users not aware of this will just be unable to login > as soon as their chosen password contains letters which are mapped > differently on a FR and a US keyboard (and there are a *lot*). > > This is obviously very bad and I sometimes feel this should be RC... I share your feelings. > There are already bug reports suggesting that X uses console-data > settings. However, discussions have clearly shown that mapping both > is quite complicated. > > As a way to circumvent this, I propose that we pre-seed > xserver-xfree86 settings about keyboard, mostly > "xserver-xfree86/config/inputdevice/keyboard/model" and > "xserver-xfree86/config/inputdevice/keyboard/layout" with appropriate > values, depending on the chosen keyboard layout during the kbd-chooser > step in d-i. > > Example > > debconf-get console-keymaps-at/keymap > > case $RET in > fr-latin9) > debconf-set xserver-xfree86/config/inputdevice/keyboard/model "pc105" > debconf-set xserver-xfree86/config/inputdevice/keyboard/layout "fr" > ;; > de-latin1) > debconf-set xserver-xfree86/config/inputdevice/keyboard/model "pc105" > debconf-set xserver-xfree86/config/inputdevice/keyboard/layout "de" > ;; Agreed. It surely won't be perfect, but even a workaround should be better than nothing, till the situation will be changed for Sarge+1. -- roktas
Attachment:
signature.asc
Description: Digital signature