Remove English keyboard layout from preseed installation

Bug #1553151 reported by Schlomo Schapiro
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
debian-installer (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Using network booted preseed installation with the following lines to configure keyboard:

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

The problem is that after the installation there is a German and also an English keyboard configured, see attached screenshot.

The /etc/default/keyboard file contains:
XKBMODEL="pc105"
XKBLAYOUT="de"
XKBVARIANT=""
XKBOPTIONS=""
BACKSPACE="guess"

BUT gsettings shows this:
$ gsettings get org.gnome.desktop.input-sources sources
[('xkb', 'de'), ('xkb', 'us')]

I did not touch the X configuration. X log files also don't show anything, only that de keyboard was set for evdev.

Please advice how to get rid of English keyboard if I configure German keyboard.

Revision history for this message
Schlomo Schapiro (sschapiro) wrote :
Revision history for this message
Peter Matulis (petermatulis) wrote :

What kernel options did you pass when initiating the network boot?

Changing this to debian-installer.

affects: installation-guide (Ubuntu) → debian-installer (Ubuntu)
Revision history for this message
Schlomo Schapiro (sschapiro) wrote :

The kernel options are:

biosdevname=0 net.ifnames=0 ipv6.disable=1 auto-install/enable=true debconf/priority=critical vga=791 preseed/url=http://jschule.github.io/ubuntu/preseed/jts.txt

Revision history for this message
Schlomo Schapiro (sschapiro) wrote :

BTW, doing a "dpkg-reconfigure keyboard-configuration" and selecting German did not get rid of the English keyboard.

Revision history for this message
Schlomo Schapiro (sschapiro) wrote :

Little update: I added the keyboard-configuration/layoutcode=de parameter to the preseed boot kernel command line and got a little bit different result:

1. In lightdm there is only the German keyboard.
2. In a freshly created user there is Germand and English keyboard. That user did not have any home directory before.

The content of /etc/default/keyboard did not change.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in debian-installer (Ubuntu):
status: New → Confirmed
Revision history for this message
Martin (linux-support) wrote :

Similar results here:
$ gsettings get org.gnome.desktop.input-sources sources

gnome-flashback :
@a(ss) []

unity:
[('xkb', 'de'), ('xkb', 'us')]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.