Hi @Alan Klas and everyone interested,
I've recorded video tutorial on how to workaround this issue. Video is on YouTube, just search for issue number "MC-122421" and it should appear.
Cheers
I have attached my video with this bug as well(keystrokes visible on screen).
I also tested it on 2 different PCs using 3 different keyboards. Both computers are running Linux on Kernel 5.4
I believe that we all should agree that this issue doesn't only affect UNIX-like Operating Systems... This change should be priority for Minecraft Launcher devs! Linux should get dedicated "minecraft" folder under $XDG_DATA_HOME and Windows should get relevant directory too! Minecraft is now a mature project - no longer this little unknown indie game made by the single-man army... I cannot think of a single other game (except for Minecraft clones) that installs under %AppData% (in MS Windows) and in the Linux user's home directory!
I have several Minecraft releases installed and couple of world saves on my machine - it's over 4GB as of now and only grows! Minecraft versions should be shared between computer users and only saves/login session should be stored inside of the user's $XDG_DATA_HOME.
What I am trying to say is that after over 10 years of the development - Minecraft should radically reconsider it's data structure to be more efficient and modern! It isn't only issue of Linux even if we are mostly affected because game's data sits permanently in one of our most important places... It is all just very frustrating!