The original post: /r/debian by /u/gustav_36 on 2024-05-09 09:17:56.

Hello!

I don’t even know how to start because this issue is so weird. Since yesterday (everything was fine before), I cannot use special characters (e.g. polish letters like ‘ą’,‘ł’,‘ó’) in Debian Sid despite choosing the Polish keyboard layout (the same thing happens when I choose other layouts like Spanish) in Gnome settings (Locale gen is ;pl_PL.UTF-8;). I have tried many things (change keyboard layout, enable and disable special characters key in official gnome settings, enable right alt as a key to special characters in Gnome Tweaks, also I tried reassigning alt right (xmodmap -e “keycode 108 = ISO_Level3_Shift” and “Mode_switch”, etc.), I reset all keyboard shortcuts to default, even created a new user to check if this issue corresponds to the main user account - no, the problem still persists in the new account) but nothing helped.

The strangest thing is that this problem only occurs in Gnome (e.g. in Openbox everything is fine) in both X11 and Wayland sessions but not in all applications. So in LO writer, Firefox, etc. I cannot use polish characters but in Synaptic (gtk2 app as I think) everything is fine (in Gnome session). In Nautilus (Files) I can use polish symbol - literally - once and as a first in a word. Seemingly it looks like Gnome doesn’t recognize right alt, however when I check the keyboard layout in Gnome settings, this key is recognized (but Xev shows the message: ‘XKeysymToKeycode returns keycode: 92’).

So what can I do? Can someone help me?