This question already has an answer here:
I want my Alt Gr key to act the same way as the Alt key. I've found a potential solution which is to open up terminal and run the following commands:
xmodmap -e "clear mod5" xmodmap -e "keycode 108 = Alt_L"
This solution works but only temporarily. Whenever I restart the computer it reverts back or even if I'm using my laptop for a few hours the fix is undone.
I'm wondering if their is a permanent solution to this issue.
Just a little about me, I've only started using ubuntu in the last few months so I'm very inexperienced with it so I apologise in advance if I have follow up questions for any potential solutions.