0

NOTE: The system I am talking about is Linux which has different file system from Windows, meaning %APPDATA%/.minecraft is non-existent in Linux

So I have installed Pop!_OS to learn linux and I have game save from Windows 10 stored in a external drive following this page. Now that I have installed Minecraft from official site, how do I tell the Minecraft in Linux where to look for the game saves and account information?

0

I couldn't really work out what the problem was. Here are some instructions I quickly created and tested:

Download https://launcher.mojang.com/download/Minecraft.tar.gz and extract it.

In the newly created folder create a script named minecraft.sh, or whatever you prefer, with the following contents:

chmod +x minecraft-launcher # Just in case
./minecraft-launcher --workDir=`readlink -f HERE` # Use readlink to resolve absolute path

Replace HERE with where you want the portable installation to be located.

When you execute this script, it should run the launcher and game in the specified directory.

For ease of use, you can add it to your menu using "menulibre".

Install menulibre (sudo apt install menulibre), and open it (search for "Menu Editor" in applications).

Create a new menu entry that executes the script, and if you want a fancy icon, you can add one easily.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.