Import existing wineprefixes and/or select default base dir?

Asked by krank23

Since I've been using wineprefixes for some time now, I have a number of them already set up. I've always just placed them in ~/winebottles for easy access.

Question is, is it possible, or could it be made possible (wishlist?) to add these to Vineyard? I mean, import them in any way, or just point Vineyard to their current location?

Vineyard uses ~/.local/share/wineprefixes by default; would it be possible to give the user the ability to change this? I don't need a fancy UI way of doing it, gconf:ing or editing conf files by hand is just fine by me. Not a big deal, of course, provided my bottles can be imported I can always ln -s.

Question information

Language:
English Edit question
Status:
Answered
For:
Vineyard Edit question
Assignee:
Christian Dannie Storgaard Edit question
Last query:
Last reply:
Revision history for this message
Christian Dannie Storgaard (cybolic) said :
#1

Absolutely.

Vineyard uses the environment variable WINEPREFIXES to determine where to load prefixes from, so just set that in your ~/.bashrc, ~/.profile or where ever you prefer.

F.x. add:
WINEPREFIXES="$HOME/winebottles"

to ~/.profile.

It won't override Vineyard's default locations (yes, plural, it also uses ~/.winebottles for prefixes created in older versions of Vineyard), but it will take precedence.

Revision history for this message
Christian Dannie Storgaard (cybolic) said :
#2

Oh, let me know how it goes with using your existing prefixes.
Vineyard has support for prefixes created by other programs, but it's always nice to get outside results.

Can you help with this problem?

Provide an answer of your own, or ask krank23 for more information if necessary.

To post a message you must log in.