AZERTY French Keyboard with Proton and Steam

If like me you have an AZERTY French keyboard wired to a PC running Linux, you may have noticed that your "é" key isn't registered when pressed in some games running through Proton on Steam.

After some research, I stumbled upon this post on the Linux Mint forums.

So, in order to fix this issue on Debian based distributions (I personally use Zorin OS), you can't switch the input method from the system settings as explained in the post. Instead, you need to run the following command in your terminal:

im-config -n xim

You can also only run im-config and follow the prompts to select XIM as your input method.

Going back to ibus (if it was your original input method) is as simple as running im-config -n ibus in the terminal.

Important: Once this command is run, you will need to operate a full reboot of your system for the changes to be applied. Simply logging out and back in won't suffice.

I don't know why this issue only happens with Proton and Steam, but it seems that ibus has trouble working with softwares running through additional layers like wine/Proton. I hope this post will help you before going crazy with these unresponsive keys.