Comment 4 for bug 8836

Revision history for this message
Fabio Massimo Di Nitto (fabbione) wrote :

Ok the problem is not in kdb-chooser but in the way in which the xserver config
script
detects the keyboard.

At this point in time it is based on the LANG settings the user provides at
installation phase.

If you installed using some english/american you will get a us keyboard.

The problem is more general that there is no 1 to 1 mapping between console
layouts and X layouts
and it will be fixed for the next release.

As a workaround you can either do (if you did NOT modify the configuration
manually):

sudo dpkg-reconfigure xserver-xfree86

or change the layout in the configuration.

Please also check these information for me. It will help me to make the
detection more reliable:

  "de_BE@euro" ) LAYOUT="de" XKBOPTIONS="" ;;
  "de_BE" ) LAYOUT="de" XKBOPTIONS="" ;;
  "fr_BE@euro" ) LAYOUT="be" XKBOPTIONS="" ;;
  "fr_BE" ) LAYOUT="be" XKBOPTIONS="" ;;
  "nl_BE@euro" ) LAYOUT="be" XKBOPTIONS="" ;;
  "nl_BE" ) LAYOUT="be" XKBOPTIONS="" ;;
  *"BE"* ) LAYOUT="de" XKBOPTIONS="" ;;

That means that if LANG = the values at the beginning of the line
the layout is set to LAYOUT=.

Is this correct? as a general fallback I was told to use the german layout
since it is the most common case.

Can you also kindly provide me the output of:

grep -A 3 'Name: debian-installer/keymap' /var/cache/debconf/config.dat

Thanks
Fabio