rvaiya / keyd

A key remapping daemon for linux.
MIT License
3.02k stars 174 forks source link

Cannot use Unicode characters in Electron Apps #881

Open DucDucGoAway opened 3 days ago

DucDucGoAway commented 3 days ago

[ids]

*

[main]

capslock = layer(capslock) f13 = leftmeta control = layer(ctrl)

[capslock:C]

' = ß j = ä k = ö l = ü ; = å f1 = f13 f2 = f14 f3 = f15 f4 = f16 f5 = f17 f6 = f18 f7 = f19 f8 = f20 f9 = f21 f10 = f22 f11 = f23 f12 = f24 shift = layer(capslock_shift)

[capslock_shift]

' = ß j = Ä k = Ö l = Ü ; = Å

[ctrl:C]

capslock = capslock

See title Symbols like ö or å work in many places, but not in apps like Chromium based apps (Brave, Discord) or Obsidian Instead of ö it prints 03a

My System: Fedora 41 KDE Plasma Wayland

nsbgn commented 3 days ago

Very unfortunate. This is the same as #273, right? If there are some other ways to generate these keys in the system layout you're using, you could write them using macros as a workaround.

DucDucGoAway commented 3 days ago

Oh yeah, sorry then it's a duplicate.