1

On Ubuntu 18.04 and 20.04 I fixed this issue with simply

setxkbmap -option apple:badmap

This option doesn't work on Ubuntu 22.04.

Anybody solved this?

1 Answers1

0

I had the exact same problem and found a solution after much research:

  1. Go to Ubuntu Software.

  2. Install Input Remapper app.

  3. Open the app.

  4. On Device select your keyboard.

  5. Click on New entry.

  6. Click on Change Key (make sure it now shows Press key).

  7. On your keyboard, press the key you want to replace (in my case "<" key).

  8. Under Change Key button, write the name of key to replace with (in my case "less").

  9. Click on New entry.

  10. Click on Change Key (make sure it now shows Press key).

  11. On your keyboard, press the key you want to replace (in my case "º" key).

  12. Under Change Key button, write the name of key to replace with (in my case "masculine").

  13. On Rename write a name for the preset and click on the green arrow.

  14. Click on Apply.

  15. Important! Click on Autoload.

  16. Enjoy!

Input Remapper configuration