[Bug 1956916] Re: Using certain xkb-options, e.g. Alt+Shift, for switching input sources not reflected by the input source indicator in a wayland session

2023-07-17 Thread artli
Okay, the solution suggested in this gitlab issue comment fixes it for
me: https://gitlab.gnome.org/GNOME/gnome-
shell/-/issues/4511#note_1309852

The solution is to skip gnome-tweaks altogether and instead set a custom 
shortcut using gsettings:
$ gsettings set org.gnome.desktop.wm.keybindings switch-input-source 
"['Alt_L']"
$ gsettings set org.gnome.desktop.wm.keybindings switch-input-source-backward 
"['Shift_L']"

Caveat: if you have more than two layouts, this works a bit weird:
Alt+Shift does cycle between the layouts normally but Shift+Alt just
cycles between the last two, so be careful with how you press it. I
tried variations of these commands where I switch the shortcuts around
or use the same one or leave one out but couldn't find anything that
doesn't behave weirdly; perhaps I haven't tried hard enough though.

** Bug watch added: gitlab.gnome.org/GNOME/gnome-shell/-/issues #4511
   https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4511

-- 
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/1956916

Title:
  Using certain xkb-options, e.g. Alt+Shift, for switching input sources
  not reflected by the input source indicator in a wayland session

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell/+bug/1956916/+subscriptions


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

[Bug 1956916] Re: Using certain xkb-options, e.g. Alt+Shift, for switching input sources not reflected by the input source indicator in a wayland session

2023-07-17 Thread artli
Both bugs (Alt+Shift not being reflected in the language indicator and
the US layout being duplicated when using Alt+Shift) affect me on 23.04

-- 
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/1956916

Title:
  Using certain xkb-options, e.g. Alt+Shift, for switching input sources
  not reflected by the input source indicator in a wayland session

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell/+bug/1956916/+subscriptions


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