Comment 14 for bug 1956916

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote : Re: [22.04] Unable to set Left Alt + Left Shift key combination to switch keyboard layouts

On 2022-01-13 03:25, Daniel van Vugt wrote:
> Please report the bug to the developers at
> https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues ...

Or don't. I'm pretty sure this is not a gnome-control-center regression.

gnome-control-center has never, at least not for many cycles, provided a way to define the <Alt>+<Shift> combination to switch input sources. The UI for doing so is provided by Tweaks (the gnome-tweaks package needs to be installed).

Tweaks works for that purpose also in jammy. There is only one problem: It doesn't work if it's a wayland session. (It works as expected in a Xorg session.)

With "it doesn't work" I mean that <Alt>+<Shift> does change the layout, but the input source indicator in the top bar does not change.

In impish it works as expected whether the session is wayland or Xorg.

Can't tell which package is the real culprit, though. You could think it was about gnome-shell, but we still have the very same version in impish and jammy.

@Leonid: If you agree, I'm inclined to change the summary of this bug to something like:

"Using xkb-options for switching input sources not reflected by the input source indicator in a wayland session"

Please let us know if you see the same thing as I do.