Connecting external keyboard while Gnome is running does not make AltGr (right Alt) work on that keyboard
I'm on Arch running Gnome 3.38.1 on a laptop. I have only one input source, Polish, which is using
AltGr (or right
Alt) modifier to input e.g. national characters.
Since Gnome 3.38, when I connect my external keyboard then
AltGr modifier does not work on that external keyboard, meaning hitting
AltGr + l no longer inputs
ł but something like
Esc + l. It still works on the internal laptop keyboard.
Also, when Gnome starts with the keyboard connected there's no issue. It just happens when I plug it in while Gnome is running.
I tested this on a USB keyboard and another Bluetooth keyboard. The issue is the same.
Steps to reproduce
- Restart the laptop and launch Gnome
AltGr + lon the laptop keyboard and see that
- Connect the external keyboard
AltGr + lon the external keyboard and see that nothing appears, issue
- Restart the laptop and launch Gnome again without disconnecting the external keyboard
AltGr + lon the either keyboard and see that
gsettings set org.gnome.desktop.input-sources xkb-options "['lv3:ralt_switch']" gsettings set org.gnome.desktop.input-sources xkb-options ""