You are not logged in.
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
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"
EndSectionNow I can change layout even in sddm display manager but still not in chromium.
Offline
https://wiki.archlinux.org/title/Waylan … plications ?
https://wiki.archlinux.org/title/Chromi … er_Wayland (ignore the symptoms)
Alternatively/additionally, https://wiki.archlinux.org/title/Chromi … nd_support - do you use an IME?
Offline
Thank you for fast replay. It is my first post but you, V1del, and user with parrot avatar are forum legends for me ![]()
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
you, V1del, and user with parrot avataryou, V1del, and user with parrot avatar
That's "Inspector Parrot" for noobs ![]()
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
My fault, just got up from bed with realization that I forgot to mark as [SOLVED] ![]()
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 %UIf it works for you than add this arguments into obsidian.desktop file. For me it was located in:
./usr/share/applications/obsidian.desktopOffline
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