[Bug 1553147] Re: xenial preseed cannot set keyboard layout
Mathieu Trudel-Lapierre
mathieu.tl at gmail.com
Fri Mar 4 21:24:24 UTC 2016
I used a slightly different test to verify that the keyboard was
correctly configured, and it looks like it is:
keyboard-configuration/layoutcode=es (on the command-line) appears to
correctly set the keyboard to the es locale.
I'm not familiar enough with all keyboards to know how to properly test
them (I mean, hitting a key and verifying that it does the right thing).
Could you give me an example for the german and finnish keyboard of some
key combination that should write a special character, so I can test
them?
Also, have you tried setting the keyboard-configuration/layoutcode value
on the command-line? If so, does it make a difference? If it does, this
may mean that instead the bug lies in preseed or something specific to
the way the keyboard configuration is preseeded.
Thanks!
** Changed in: console-setup (Ubuntu)
Status: Confirmed => Incomplete
** Changed in: console-setup (Ubuntu)
Assignee: (unassigned) => Mathieu Trudel-Lapierre (mathieu-tl)
** Changed in: console-setup (Ubuntu)
Importance: Undecided => Medium
--
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