18.04.14.7 regression: no alt_shift_toggle in XKBOPTIONS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
console-setup (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
ubiquity (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Up to ubuntu-
Reading the changelog, I see:
$ ~/source/ubiquity$ git show 786a5325ef
+console-setup (1.178ubuntu6) cosmic; urgency=medium
+
+ * keyboard-
+ layout toggling, stop pretending there is. Console users can set one
+ with dpkg-reconfigure or editing /etc/defaults/
I'm guessing that ubiquity duplicates some code from console-setup, and LP: #1762952 caused this regression.
To reproduce:
1) Start ubuntu-
2) Select Ελληνικά (Greek) and start installing Ubuntu using the default options
3) Right after the keyboard layout step, run:
$ grep XKBOPTIONS /etc/default/
XKBOPTIONS=
4) Verify that you can switch to Greek with Alt+Shift
Starting from ubuntu-
$ grep XKBOPTIONS /etc/default/
XKBOPTIONS=
Does ubiquity really expect the users to run `dpkg-reconfigure console-setup`?
Note that selecting Greek in the syslinux menu produces the correct XKBOPTIONS, yet ubiquity overwrites them later on with the wrong ones.
I was undoubtedly involved in the fix of bug #1762952.
Why is there a need to switch keyboard layout during the installation?
As regards post-install, i.e. at first boot/login, the desktop environment ought to provide some default shortcut for switching input sources.