Bug#922020: gnome-shell: Keyboard layout not applied in programs using Xwayland

Lars Wirzenius liw at liw.fi
Mon Feb 11 11:17:08 GMT 2019


> What precisely do you mean by "not applied"? Does typing into Firefox
> and GTK2 apps behave as though you were using a USA keyboard
> (shift+2 -> @, shift+3 -> #, etc.)  or does it have some other
> behaviour?

In native GNOME applications, pressing the key that normally gives
me "-" (dash) gives me "-", which is appropriate for the Finnish
keyboard layout. In other programs, it gives me "/", which is US
layout, and other keys are also consistent with US layout (shift-3 is
# and not £ so it's not UK layout).

> What is in your /etc/default/keyboard?

XKBMODEL="pc105"
XKBLAYOUT="fi"
XKBVARIANT=""
XKBOPTIONS=""
BACKSPACE="guess"

> What does `gsettings list-recursively
> org.gnome.desktop.input-sources` say?

org.gnome.desktop.input-sources show-all-sources false
org.gnome.desktop.input-sources xkb-options @as []
org.gnome.desktop.input-sources per-window false
org.gnome.desktop.input-sources current uint32 0
org.gnome.desktop.input-sources mru-sources @a(ss) []
org.gnome.desktop.input-sources sources [('xkb', 'fi')]

(Under X, not Wayland. See below.)

> Are there any warnings in the systemd journal or syslog that look
> relevant?

I wouldn't know.

> Have you restarted gnome-shell (logged out and back in) since upgrading?
> (I don't expect that this would make any difference, but whether you
> did or not is an important data point in trying to reproduce the bug.)

I rebooted after dist-upgrading, yes.

> Does downgrading gnome-shell to the version in testing resolve this
> for you?

I didn't try, and it's not convenient for me to try.

> Other packages that might be relevant include mutter,
> gnome-settings-daemon, and anything else that /var/log/apt mentions as
> having been upgraded around the same time as gnome-shell.

I did two weeks' worth of dist-upgrade at once. There were lots of
packages. I haven't narrowed down what it was.

I worked around this problem by changing /etc/gdm3/daemon.conf have
WaylandEnable=false
instead of it being commented out, and rebooting. Now everything works.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20190211/470ade28/attachment.sig>


More information about the pkg-gnome-maintainers mailing list