I took the following steps:

* Installed Ubuntu 17.10.1
* Added an extra keyboard layout
* Updated the packages
* Rebooted

No additional layout switch shortcut so far.

Then I run "update-manager -d", and when it was installing the new and
upgraded packages, a window for keybord configuration popped up and I
was prompted to select method for switching between "setting for
national and latin" (see attached image). Alt+Shift was pre-selected. I
found no way to skip that setting, and clicked the "Forward" button.
Result:

$ cat /etc/default/keyboard
XKBLAYOUT="se,us"
XKBVARIANT=","
BACKSPACE="guess"
XKBMODEL="pc105"
XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll"

So there it is. And at first login those XKBOPTIONS values were imported
by dconf (as expected).

I still can't tell which package is the culprit. Changed to ubuntu-
release-upgrader for now, since it's probably closer to the truth than
gnome-shell.

In any case the upgrade behavior in this respect needs to be
reconsidered, at least for desktop upgrades. No program should make
assumptions and gratuitously set XKBOPTIONS in /etc/default/keyboard,
especially since g-c-c does not offer a way to modify it later. (Is
there a reason for the upgrader to mess with keyboard configuration at
all?)

** Attachment added: "keyboard-config-prompt.png"
   
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1762952/+attachment/5127164/+files/keyboard-config-prompt.png

** Package changed: gnome-shell (Ubuntu) => ubuntu-release-upgrader
(Ubuntu)

** Changed in: ubuntu-release-upgrader (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/1762952

Title:
  Alternative shortcut for layout switching Alt+Shift unexpectedly set
  by default

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1762952/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to