I dual boot Ubuntu 13.04 and Windows 7 on my laptop. I can play Minecraft on Windows just fine, but now I'm trying to get it to work on Ubuntu.
I want to use my .minecraft folder on Windows so that my Minecraft files can be in one universal directory. (I currently use fdisk to mount my Windows partition at boot, so that's no problem)
In the end my question is simple: How can I change the directory in which the Minecraft launcher looks for versions? The default right now (as you probably know) is "~/.minecraft". Is there a command line option to change this? Or do I have to change the source to get it to work?
Rollback Post to RevisionRollBack
“Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program.”
- Linus Torvalds (Finnish American, software engineer and hacker, principal force behind the development of the Linux kernel)
I believe that you can symbolically link ~/.minecraft to a directory by running this command in the Terminal:
ln -s /path/to/windows/.minecraft ~/.minecraft
Make sure you replace "/path/to/windows/.minecraft" to the actual path.
That works perfectly, thank you!
I can't believe I didn't think of that before...
Rollback Post to RevisionRollBack
“Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program.”
- Linus Torvalds (Finnish American, software engineer and hacker, principal force behind the development of the Linux kernel)
To post a comment, please login or register a new account.
I want to use my .minecraft folder on Windows so that my Minecraft files can be in one universal directory. (I currently use fdisk to mount my Windows partition at boot, so that's no problem)
In the end my question is simple: How can I change the directory in which the Minecraft launcher looks for versions? The default right now (as you probably know) is "~/.minecraft". Is there a command line option to change this? Or do I have to change the source to get it to work?
- Linus Torvalds (Finnish American, software engineer and hacker, principal force behind the development of the Linux kernel)
ln -s /path/to/windows/.minecraft ~/.minecraft
Make sure you replace "/path/to/windows/.minecraft" to the actual path.
That works perfectly, thank you!
I can't believe I didn't think of that before...
- Linus Torvalds (Finnish American, software engineer and hacker, principal force behind the development of the Linux kernel)