Chrome is using wrong keyboard layout

Hey all. I just installed Zorin 17.2 Core. Everything works fine except for the keyboard layout in Chrome. I installed Chrome from the Software Manager (version 133). My keyboard is German, and in all other apps the keys are mapped correctly. But in Chrome, for some reason, the English keyboard layout is used.

This is driving me nuts, please advise... lol. Thanks

Which package format was that version of Chrome you installed. i.e. was it Snap or Flatpak by any chance? If so, its isolated nature could perhaps explain it not seeing the system keyboard language. That information may help point to a solution.

Yeah it's a flatpak. Software Manager doesn't seem to offer anything else. But of course I could go for a manual install, perhaps that's just the way to go.

Just done awebsearch using as searchterm: "Chrome flatpak does not use system keyboard language ubuntu"
and found this, which may help or give a steer: chromium - Chrome/brave use the wrong keyboard layout - Ask Ubuntu

1 Like

Well this is hilarious... first I did this:

Then I uninstalled the flatpak and installed the Chrome .deb. Both of which changed... nothing. Still getting English keys.

Oh, small addendum: Some other apps are also having the problem, for example a Java program I am using. Things that work fine include Text Editor, Firefox, Terminal and the Software tool.

Oh - I think I figured it out. The solution was to use these settings (adding an English layout explicitly):

Why does it work? Heck do I know. Am I happy? Yes.

Thanks zabadabadoo for the contributions!

4 Likes

Wait... now it broke again. What is going on

Okay... I think there is a solution now. I ran

setxkbmap de

and things are fine since. Possibly needs to be done after each reboot.

1 Like

If so, you can set this to run upon boot up automatically.
If you are using Xorg, just add setxkbmap de to your ~.xprofile file.

If you are using Wayland, you have to set up a service for it and a script - it gets complicated... So will wait your reply before typing all that out...

Yeah I did a very similar thing and it's all fine now. I'm using Xorg. Thanks

Assalamu Alaikum, hi!

Since your keyboard is German, I suppose it was using the QWERTZ layout instead of QWERTY, right?

Yes, that's the layout I needed

1 Like