I used to solve this by just installing another launcher. there were some good ones around, they should still work I hope.
[0]: https://executor.dk/
If you want to read the specifics of my transition to Linux: https://www.scottrlarson.com/publications/publication-transi...
Another anecdote is that minecraft 1.19 doesn't work on Ubuntu 18, as it uses glibc 2.29. D: