Input Remapper will do it by point-and-click.
Kmonad if you want to do more advanced things. But it has a learning curve.
I would recommend Mint over ubuntu. Ubuntu forces snap apps upon users. They take up much more room in storage and start up slower, sometimes much slower. App packages such as snap which are self-contained with their dependencies do have their place, with Mint it’s not forced upon you.
I sure know losing patience with windows, I very rarely boot into windows, but the other day I do. Just out of curiosity to check how the windows version of an app looked. Have to wait for windows to apply updates before it even starts. Then trying to reboot into Linux, and it sits for ages with more updates before it will shut down.
Feels insane coming from Linux, where most updates apply in the background with no need to reboot. And there is never waiting at startup, shutdown or reboot.