I have a dilemma.
When freshly installing game (i usually used wineprefixcreate, but now I just use WINEPREFIX when installing) I want certain settings to be used when starting wine.
Now I have to click-click through my winecfg to make them right every time I install new game or software. Most notable edits are Sound, Drives and Desktop integration (where the personal folders are configured).
How I can change these defaults into something different?
I tried to change Shell Folder "My Documents" (I believe that's what's called, not using English language version) from winecfg and comparing registrys through sdiff. All the registrys are identical (system,user and userdef), so wine must save that information into somewhere else. Where is it hidden so I could try to change it automatically, since manually sucks (I really dont want the files to go directly my /home/username -folder).
It would be so much easier to save the wanted edits into file and just say "use these modifications" when starting/creating new prefix.
Howto change default wineprefix settings?
Re: Howto change default wineprefix settings?
Well you can't easily change defaults because some are hard-coded into Wine itself and you'll have to hack source.weetabix wrote:How I can change these defaults into something different?
What you can do is create a script that edits all what you want to edit. Some things are in registry - sound. Some things are symlinks - drives, location of "My Documents", "Desktop", etc - shell-folders.
Drives are symlinks in $WINEPREFIX/dosdevices where "x:" points to a mount point and "x::" points to device.
Shell-folders are bit more complicated. They are symlinks or real directories here: $WINEPREFIX/dosdevices/c:/windows/profiles/$USER/
Howto change default wineprefix settings?
On Sat, Feb 7, 2009 at 4:02 PM, vitamin <[email protected]> wrote:
time wine is upgraded.
--
-Austin
You can also edit tools/wine.inf, but that would get overwritten eachweetabix wrote:Well you can't easily change defaults because some are hard-coded into Wine itself and you'll have to hack source.How I can change these defaults into something different?
What you can do is create a script that edits all what you want to edit. Some things are in registry - sound. Some things are symlinks - drives, location of "My Documents", "Desktop", etc - shell-folders.
Drives are symlinks in $WINEPREFIX/dosdevices where "x:" points to a mount point and "x::" points to device.
Shell-folders are bit more complicated. They are symlinks or real directories here: $WINEPREFIX/dosdevices/c:/windows/profiles/$USER/
time wine is upgraded.
--
-Austin