I would like to point Wine at my Linux temp directory instead of /home/username/.wine/drive_c/users/username/Temp. Is there a way to have the Wine environment variable specify a different location?
On Sun, 2012-01-22 at 15:35 -0600, tigerdog wrote:> I would like to point Wine at my Linux temp directory instead > of /home/username/.wine/drive_c/users/username/Temp. Is there a way > to have the Wine environment variable specify a different location? >The default is: WINEPREFIX="$HOME/.wine" You can change WINEPREFIX to anything you like: export WINEPREFIX="$HOME/.wine_for_myapp" works and so should: export WINEPREFIX="/path/to/wherever/I/want" but an easier way to handle this is to use a wrapper script, e.g. ==============================================================#!/bin/bash export WINEPREFIX=/where/your/app/is" cd $WINEPREFIX wine myapp.exe ============================================================= Martin
Martin Gregorie wrote:> On Sun, 2012-01-22 at 15:35 -0600, tigerdog wrote: > > > I would like to point Wine at my Linux temp directory instead > > of /home/username/.wine/drive_c/users/username/Temp. Is there a way > > to have the Wine environment variable specify a different location? > > > > > The default is: WINEPREFIX="$HOME/.wine" > You can change WINEPREFIX to anything you like: > > export WINEPREFIX="$HOME/.wine_for_myapp" > > works and so should: export WINEPREFIX="/path/to/wherever/I/want" > but an easier way to handle this is to use a wrapper script, e.g. > > ==============================================================> #!/bin/bash > export WINEPREFIX=/where/your/app/is" > cd $WINEPREFIX > wine myapp.exe > =============================================================> > > MartinHe meant to change the directory that wine uses for temporary files, not the prefix, I think.
> I would like to point Wine at my Linux temp directory instead of > /home/username/.wine/drive_c/users/username/TempYou can use ln to create a symbolic link, for example: rm -rf /home/username/.wine/drive_c/users/username/Temp ln -s /tmp /home/username/.wine/drive_c/users/username/Temp
jorl17 wrote:> He meant to change the directory that wine uses for temporary files, not the prefix, I think.Correct - that's what I want to do. L. Rahyen wrote:> You can use ln to create a symbolic link, for example: > > rm -rf /home/username/.wine/drive_c/users/username/Temp > ln -s /tmp /home/username/.wine/drive_c/users/username/TempAnd that did it! Thank you jorl17 and L.Rahyen! Temp files now go where I want. I appreciate the help!