You are not logged in.

#1 2025-06-25 13:08:20

UniverAlex
Member
Registered: 2025-06-25
Posts: 4

[SOLVED] English letters is typed instead of Russian on chromium

Greetings Arch Linux masters.
Few days ago I installed Arch Linux with Hyprland. All went alright except English letters is typed instead of Russian on chromium and electron apps like obsidian.
I roamed internet and specifically this forum but did not find an answer.

I configured layout change in ~/.config/hypr/hyprland.conf like this:

input {
    kb_layout = us,ru
    kb_variant =
    kb_model =
    kb_options =grp:switch
    kb_rules =

    follow_mouse = 1

    sensitivity = 0 # -1.0 - 1.0, 0 means no modification.

    touchpad {
        natural_scroll = false
    }
}

In other apps for example kitty terminal layout change working as expected but in chromium when I trying to type cyrillic letter (russian layout) I see latin (english layout) instead. Language indicator in waybar changes to Russian like usual.

Thank you for your time and care.

Last edited by UniverAlex (2025-06-26 05:48:10)

Offline

#2 2025-06-25 13:34:07

UniverAlex
Member
Registered: 2025-06-25
Posts: 4

Re: [SOLVED] English letters is typed instead of Russian on chromium

Also after experiencing this issue I set ozone-platform-hint flag in chromium to x11 and explicitly configure layout in /etc/X11/xorg.conf.d/00-keyboard.conf:

Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "us,ru"
        Option "XkbModel" "pc105+inet"
        Option "XkbOptions" "grp:switch"
EndSection

Now I can change layout even in sddm display manager but still not in chromium.

Offline

#3 2025-06-25 13:53:46

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,287

Offline

#4 2025-06-25 14:56:17

UniverAlex
Member
Registered: 2025-06-25
Posts: 4

Re: [SOLVED] English letters is typed instead of Russian on chromium

Thank you for fast replay. It is my first post but you, V1del, and user with parrot avatar are forum legends for me smile

I read links that you are suggested and running chromium with -chrome://flags/ "#ozone-platform-hint=wayland" is helped.

Last edited by UniverAlex (2025-06-25 14:57:26)

Offline

#5 2025-06-25 15:12:48

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,287

Re: [SOLVED] English letters is typed instead of Russian on chromium

you, V1del, and user with parrot avataryou, V1del, and user with parrot avatar

That's "Inspector Parrot" for noobs lol

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#6 2025-06-26 05:54:36

UniverAlex
Member
Registered: 2025-06-25
Posts: 4

Re: [SOLVED] English letters is typed instead of Russian on chromium

My fault, just got up from bed with realization that I forgot to mark as [SOLVED] smile
If someone will stuck with similar problem with obsidian try to open it with this arguments:

obsidian --no-sandbox --ozone-platform=wayland --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations %U

If it works for you than add this arguments into obsidian.desktop file. For me it was located in:

./usr/share/applications/obsidian.desktop

Offline

#7 2025-06-26 06:16:23

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,287

Re: [SOLVED] English letters is typed instead of Russian on chromium

This btw. suggests that the X11 keyboard layout isn't properly setup on xwayland - I supposed the "Option "XkbLayout" "us,ru"" order matters and the switch doesn't get applied/carried on.
"setxkbmap ru" might fix it for other xwayland clients.

Offline

Board footer

Powered by FluxBB