[Bug 1892014] Re: 18.04.14.7 regression: no alt_shift_toggle in XKBOPTIONS

Alkis Georgopoulos 1892014 at bugs.launchpad.net
Thu Aug 20 09:10:48 UTC 2020


> I can't recall that Ubiquity asks about shortcut for switching input
sources.

I believe it relied on console-setup for the correct default.
So, console-setup shouldn't stop providing a default until AFTER ubiquity had a question about "how to toggle the layout".

> Please take into consideration that standard Ubuntu does not need it.
The previous default Alt+Shift caused confusion and issues.

I just tested on Ubuntu GNOME and I can't switch the layout with
Alt+Shift. I can switch it with Win+Space, which isn't appropriate for
Greece. Also, I can't type Greek in neither the console nor in GDM.

Gunnar, what are you proposing?

I believe that LP: #1762952 should be reverted, and if GNOME chokes
while reading /etc/default/keyboard, then we can work on fixing GNOME.

Are you proposing that we should file bugs against console-setup, all
display managers, and all other desktop environments, to assume a
default toggling switch, because we can't fix GNOME?

In which direction should I be trying to resolve this?

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

Title:
  18.04.14.7 regression: no alt_shift_toggle in XKBOPTIONS

Status in ubiquity package in Ubuntu:
  New

Bug description:
  Up to ubuntu-mate-18.04.1.iso, everything was fine. Starting with
  18.04.2, XKB_OPTIONS does not contain "alt_shift_toggle" anymore and
  we cannot switch the keyboard layout to e.g. Greek using Alt+Shift.

  Reading the changelog, I see:

  $ ~/source/ubiquity$ git show 786a5325ef
  +console-setup (1.178ubuntu6) cosmic; urgency=medium
  +
  +  * keyboard-configuration.{config,templates}: There is no good default for
  +    layout toggling, stop pretending there is.  Console users can set one
  +    with dpkg-reconfigure or editing /etc/defaults/keyboard (LP: #1762952)

  I'm guessing that ubiquity duplicates some code from console-setup,
  and LP: #1762952 caused this regression.

  To reproduce:
  1) Start ubuntu-mate-18.04.1-desktop-amd64.iso
  2) Select Ελληνικά (Greek) and start installing Ubuntu using the default options
  3) Right after the keyboard layout step, run:
  $ grep XKBOPTIONS /etc/default/keyboard 
  XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll"
  4) Verify that you can switch to Greek with Alt+Shift

  Starting from ubuntu-mate-18.04.2-desktop-amd64.iso (.1=OK, .2=BAD), we cannot switch to Greek using Alt+Shift anymore:
  $ grep XKBOPTIONS /etc/default/keyboard 
  XKBOPTIONS="grp_led:scroll"

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1892014/+subscriptions



More information about the foundations-bugs mailing list