[Bug 1553147] Re: xenial preseed cannot set keyboard layout

Mikko Pesari 1553147 at bugs.launchpad.net
Fri Mar 4 21:47:09 UTC 2016


Sorry, I'm unable to verify or test for a week, but IIRC setting it as
parameter (or using the alias keymap=fi) did actually change the layout
in the installer console.

However the changes were not saved in the target system in
/etc/default/keyboard as XKBLAYOUT="fi". I also tried setting these
items in preseed without success:

{d-i,keyboard-configuration} keyboard-configuration/{layout,layoutcode
,xkb-keymap,variant}

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to console-setup in Ubuntu.
https://bugs.launchpad.net/bugs/1553147

Title:
  xenial preseed cannot set keyboard layout

Status in console-setup package in Ubuntu:
  Incomplete

Bug description:
  Using network booted preseed with the following lines to configure
  keyboard layout:

  d-i console-setup/ask_detect false
  d-i keyboard-configuration/layoutcode string de
  d-i keyboard-configuration/layout select German
  d-i keyboard-configuration/modelcode string pc105

  System comes up with US keyboard only (see screenshot).

  Content of /etc/default/keyboard:
  XKBMODEL="pc105"
  XKBLAYOUT=""
  XKBVARIANT=""
  XKBOPTIONS=""
  BACKSPACE="guess"

  Content of /etc/default/console-setup:
  ACTIVE_CONSOLES="/dev/tty[1-6]"
  CHARMAP="UTF-8"
  CODESET="guess"
  FONTFACE="Fixed"
  FONTSIZE="8x16"
  VIDEOMODE=

  The same preseed file works on wily and successfully configures a
  German keyboard layout.

  The full preseed file can be found at
  https://github.com/jschule/ubuntu/blob/gh-pages/preseed/jts.txt

  Please advice how to set German keyboard layout with preseed
  installation.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/console-setup/+bug/1553147/+subscriptions



More information about the foundations-bugs mailing list