Configuration file/registry entry for wine desktop?
Configuration file/registry entry for wine desktop?
I once set wine to start in desktop mode. I forget if I tried installing a library or not but at some point (at last in a possibility) the library for the GUI got messed up so almost every window that opens is either a giant square rectangle or a blue gradient. When I try to open winecfg to fix it, it opens as a giant gray rectangle and doesn't do anything as does anything else in desktop mode. I was thinking that this would stop if I got out of desktop mode in the possibility that I didn't install anything but I don't know what or where a configuration file and/or registry entry which contains the desktop mode setting is and/or is located. I don't know what library to use with WINEDLLOVERRIDES and what settings to go along with it. I forget the wine version that I had installed when this started, but this still persists with wine-3.5.
- DarkShadow44
- Level 8
- Posts: 1207
- Joined: Tue Nov 22, 2016 5:39 pm
Re: Configuration file/registry entry for wine desktop?
It's in user.reg, in your WINEPREFIX:
When "emulate a virtual desktop" is set, for me there's an entry like this:
Remove that, and you exit "emulate a virtual desktop" mode.
Also, there's an entry for overrides, maybe you can remove what library caused the issue there.
When "emulate a virtual desktop" is set, for me there's an entry like this:
Code: Select all
[Software\\Wine\\Explorer] 1524396381
#time=1d3da2cbd71257a
"Desktop"="Default"
Also, there's an entry
Code: Select all
[Software\\Wine\\DllOverrides]
Re: Configuration file/registry entry for wine desktop?
I'm not the most well versed in the registry for wine, but am I supposed to throw the D switch on that or export it and edit it from there? Software\Wine\Explorer is not found for me, what HKEY root am I supposed to prefix this with? I've tried searching all the .reg files in the .wine directory for that path and that number and nothing comes up.
- DarkShadow44
- Level 8
- Posts: 1207
- Joined: Tue Nov 22, 2016 5:39 pm
Re: Configuration file/registry entry for wine desktop?
As I said, that can be found in user.regyetoo wrote:I'm not the most well versed in the registry for wine, but am I supposed to throw the D switch on that or export it and edit it from there? Software\Wine\Explorer is not found for me, what HKEY root am I supposed to prefix this with? I've tried searching all the .reg files in the .wine directory for that path and that number and nothing comes up.
Re: Configuration file/registry entry for wine desktop?
I searched 1524396381 in user.reg as well as that path and nothing shows up. Should I add that registry entry and edit from there?DarkShadow44 wrote:As I said, that can be found in user.regyetoo wrote:I'm not the most well versed in the registry for wine, but am I supposed to throw the D switch on that or export it and edit it from there? Software\Wine\Explorer is not found for me, what HKEY root am I supposed to prefix this with? I've tried searching all the .reg files in the .wine directory for that path and that number and nothing comes up.
- DarkShadow44
- Level 8
- Posts: 1207
- Joined: Tue Nov 22, 2016 5:39 pm
Re: Configuration file/registry entry for wine desktop?
Well, easiest would be to throw everything away and make fresh WINEPREFIX.
Does "wine regedit" work? You can also edit it there.
Does "wine regedit" work? You can also edit it there.
Re: Configuration file/registry entry for wine desktop?
wine regedit only works command line for me because the graphical version is another grey block.
EDIT: But importing via command line hasn't been implemented yet so do I need to manually edit user.reg?
EDIT: But importing via command line hasn't been implemented yet so do I need to manually edit user.reg?
Re: Configuration file/registry entry for wine desktop?
I'm pretty sure that kind of thing has been done in recent years:yetoo wrote:wine regedit only works command line for me because the graphical version is another grey block.
EDIT: But importing via command line hasn't been implemented yet so do I need to manually edit user.reg?
Code: Select all
$ /opt/wine-staging/bin/regedit /?
000b:fixme:winediag:start_process Wine Staging 3.6 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
Usage:
regedit [options] [filename] [reg_key]
Options:
[no option] Launch the graphical version of this program.
/L:system.dat The location of the system.dat file to be modified.
Compatible with any other switch. Ignored.
/R:user.dat The location of the user.dat file to be modified.
Compatible with any other switch. Ignored.
/C Import the contents of a registry file.
/D Delete a specified registry key.
/E Export the contents of a specified registry key to a file.
If no key is specified, the entire registry is exported.
/S Silent mode. No messages will be displayed.
/V Launch the GUI in advanced mode. Ignored.
/? Display this information and exit.
[filename] The location of the file containing registry information to
be imported. When used with [/E], this option specifies the
file location where registry information will be exported.
[reg_key] The registry key to be modified.
Usage examples:
regedit "import.reg"
regedit /E "export.reg" "HKEY_CURRENT_USER\Console"
regedit /D "HKEY_LOCAL_MACHINE\Key\Path"
(Still may be easiest to just start over unless you have a good reason not to.)
Re: Configuration file/registry entry for wine desktop?
I ended up just creating a new WINEPREFIX. Thank you for your help though.