How to change the directory .wine of Wine to a different directory
I have Ubuntu installed on a rather small SSD. I want to be able to install Windows programs using Wine, but they have to be installed on the HDD.
By default, Wine creates a folder in the home directory /home/<user>/.wine
where the installed Windows programs are saved. I want to change this to another location, such as /media/HDD/.wine
Is there any possibility to achieve this in a simple way?
I looked in the "configure Wine" window, but to change the C
directory is greyed out:
Simple solution: a link
What simply works however is:
-
Move the folder
drive_c
from~/.wine/
to any accesible location of your choice (Thec-drive
is probably what you really want to move, since applications are stored in that directory) -
Make a link from there into the folder
~/.wine/
:ln -s /path/to/the_other_location/drive_c ~/.wine
That should simply work (and it does on my system)