wtype icon indicating copy to clipboard operation
wtype copied to clipboard

Some characters do not work in specific applications (Chromium based)

Open jomag opened this issue 1 month ago • 0 comments

I use a US layout keyboard, but often need to type Swedish characters (åäö), so I've added this to my hyprland config:

bind = SUPER, bracketleft, exec, wtype å
bind = SUPER_SHIFT, bracketleft, exec, wtype Å
bind = SUPER, apostrophe, exec, wtype ä
bind = SUPER_SHIFT, apostrophe, exec, wtype Ä
bind = SUPER, semicolon, exec, wtype ö 
bind = SUPER_SHIFT, semicolon, exec, wtype Ö

This works in almost every app, except those based on Chromium, including Electron apps such as Slack.

å and Å works even in Chromium apps.

I tried using wtype directly from the console:

sleep 3; wtype ö

... and then quickly switch focus to Slack. No input.

Then I changed to a longer sentence:

sleep 3; wtype "abc-å-ä-ö-def"

Strangely, this works for all characters!

Then I tried with both and . worked, but enter only the ä character for whatever reason!

So while I could not understand this behavior, it seems like using and could be a workaround. So I changed my Hyprland config - but now, when I type ä or ö I'm moved to workspace 1 instead!

I have two laptops. Both are up-to-date Arch + Hyprland. They share the same dotfiles and should be quite identical. On my second laptop, åäö works as expected in all apps!

Any ideas or explanations to this behavior?

jomag avatar Dec 15 '25 09:12 jomag