Re: Pre-seeding XFree settings for keyboard in Debian Installer
At 26 Jun 04 12:33:12 GMT,
Christian Perrier wrote:
> 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...
Seconded :-)
> 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"
> ;;
Interesting.
(Maybe you need to add register debian-installer/dummy
xserver-xfree86/config/inputdevice/keyboard/model and layout before
running.)
> Instead of a giant "case" loop, some other system with a basic mapping
> in a file could of course be used.
Right. Which package is best for include this configuration?
kbd-chooser fits subject, but it's bad to eat floppy space any more.
How about treat this by prebaseconfig or base-config?
Thanks,
--
Kenshi Muto
kmuto@debian.org
Reply to: