On 2020-08-12 13:57, Akbarkhon Variskhanov wrote:
> Restarting the GNOME Shell fixes the issue and the 'ru' layout gets
> added in /etc/default/keyboard configuration file: XKBLAYOUT=us,ru

If your system has one user only, and you add an XKB input source via
Settings, /etc/default/keyboard is also updated instantly. It's per
design; no need to restart anything.

> This may explain why rearranging the order of input sources
> magically fixes the bug: newly added input sources probably need to
> be put into defaults once to be recognized later.

Nope. When testing on 18.04, I added an additional user, so
/etc/default/keyboard did not get updated. It behaved the same way. The
input source settings for the user don't need to be synced with
/etc/default/keyboard.

I saw that your upstream issue was closed. If you want to help solve the
problem on 18.04, I would suggest that you look at upstream commits in
gnome-shell and/or gnome-control-center which might be related. After
all we know that the issue is not present in focal (GNOME 3.36).

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

Title:
  Keyboard won't switch its layout to a newly added second input source
  unless their order is rearranged

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

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

Reply via email to