This question already has an answer here:
My laptop's "m" key doesn't work anymore and I want to know how to re-map it. In example: to make it work with the AltGr or any other key that I don't use that much.
P.S. Ubuntu is working normally but the "m" key is broken in my keyboard so I have to copy/paste it in order to write and it is tedious. Thanks in advance for your help.