Hi all,
whenever I use `wine` in a new prefix or intentionally initialize a new prefix with `wine wineboot -i`, a configuration message window pops up for a few seconds (see attachment: "the configuration of Wine in ... is being updated, please wait ..."). I am heavily using Wine in shell scripts with new prefixes being generated by those scripts on a regular basis. In environments with X, this message window therefore becomes sort of annoying. I'd like to "deactivate" it though I have not found a simple / clean option. The best bad approach I found in forums is to install a virtual X frame-buffer and to point Wine to its DISPAY.
Is there anything possibly undocumented - an option, a switch or an environment variable - that would allow me to do what I want?
Regards, Sebastian
"Sebastian M. Ernst" ernst@pleiszenburg.de wrote:
whenever I use `wine` in a new prefix or intentionally initialize a new prefix with `wine wineboot -i`, a configuration message window pops up for a few seconds (see attachment: "the configuration of Wine in ... is being updated, please wait ..."). I am heavily using Wine in shell scripts with new prefixes being generated by those scripts on a regular basis. In environments with X, this message window therefore becomes sort of annoying. I'd like to "deactivate" it though I have not found a simple / clean option. The best bad approach I found in forums is to install a virtual X frame-buffer and to point Wine to its DISPAY.
Is there anything possibly undocumented - an option, a switch or an environment variable - that would allow me to do what I want?
'echo disable >~/.wine/.update-timestamp' should do the trick, however that basically disables the prefix updates.
Am 11.12.19 um 11:19 schrieb Dmitry Timoshkov:
'echo disable >~/.wine/.update-timestamp' should do the trick, however that basically disables the prefix updates.
Thanks Dmitry. I tested it - it works and does not show the configuration window. Though, my newly generated prefix looks relatively empty compared to what I am used to. It's missing a lot of stuff in drive_c (?).
user@comp:~/Desktop/test5> ls user@comp:~/Desktop/test5> export WINEPREFIX=$(pwd)/DEMO user@comp:~/Desktop/test5> mkdir -p $WINEPREFIX user@comp:~/Desktop/test5> ls DEMO user@comp:~/Desktop/test5> ls $WINEPREFIX user@comp:~/Desktop/test5> echo disable > $WINEPREFIX/.update-timestamp user@comp:~/Desktop/test5> ls -a $WINEPREFIX . .. .update-timestamp user@comp:~/Desktop/test5> wine wineboot -i user@comp:~/Desktop/test5> find -H $WINEPREFIX /home/user/Desktop/test5/DEMO /home/user/Desktop/test5/DEMO/user.reg /home/user/Desktop/test5/DEMO/dosdevices /home/user/Desktop/test5/DEMO/dosdevices/c: /home/user/Desktop/test5/DEMO/dosdevices/z: /home/user/Desktop/test5/DEMO/system.reg /home/user/Desktop/test5/DEMO/.update-timestamp /home/user/Desktop/test5/DEMO/drive_c /home/user/Desktop/test5/DEMO/drive_c/users /home/user/Desktop/test5/DEMO/drive_c/users/user /home/user/Desktop/test5/DEMO/drive_c/users/user/Local Settings /home/user/Desktop/test5/DEMO/drive_c/users/user/Local Settings/Application Data /home/user/Desktop/test5/DEMO/drive_c/users/user/Desktop /home/user/Desktop/test5/DEMO/drive_c/users/user/Application Data /home/user/Desktop/test5/DEMO/drive_c/windows /home/user/Desktop/test5/DEMO/drive_c/windows/system32 /home/user/Desktop/test5/DEMO/drive_c/windows/syswow64 /home/user/Desktop/test5/DEMO/drive_c/windows/win.ini
"Sebastian M. Ernst" ernst@pleiszenburg.de wrote:
'echo disable >~/.wine/.update-timestamp' should do the trick, however that basically disables the prefix updates.
Thanks Dmitry. I tested it - it works and does not show the configuration window. Though, my newly generated prefix looks relatively empty compared to what I am used to. It's missing a lot of stuff in drive_c (?).
user@comp:~/Desktop/test5> ls user@comp:~/Desktop/test5> export WINEPREFIX=$(pwd)/DEMO user@comp:~/Desktop/test5> mkdir -p $WINEPREFIX user@comp:~/Desktop/test5> ls DEMO user@comp:~/Desktop/test5> ls $WINEPREFIX user@comp:~/Desktop/test5> echo disable > $WINEPREFIX/.update-timestamp user@comp:~/Desktop/test5> ls -a $WINEPREFIX . .. .update-timestamp user@comp:~/Desktop/test5> wine wineboot -i
Now, after seeing what precisely you're trying to do, I have to say that my suggestion should not be used in your scenario. Disabling updates is only appropriate for fully initialized prefixes. Perhaps adding new switch '-q[uite]' or '-nobanner' to wineboot would better match your needs.
Am 11.12.19 um 11:44 schrieb Dmitry Timoshkov:
Now, after seeing what precisely you're trying to do, I have to say that my suggestion should not be used in your scenario. Disabling updates is only appropriate for fully initialized prefixes. Perhaps adding new switch '-q[uite]' or '-nobanner' to wineboot would better match your needs.
Yes, correct, this is what I was hoping to find.
If you compile wine yourself you could do it the same way that Proton does it.
https://github.com/ValveSoftware/wine/commit/6051b0612ca0436139f6e059cdaa704...
I do not think there is a native way of doing this, as Proton would have surely used it.. But one could elaborate on that patch to maybe make it to something like Dmitry suggests with an option of "-q" or something.
Sveinar
On 11.12.2019 12:03, Sebastian M. Ernst wrote:
Am 11.12.19 um 11:44 schrieb Dmitry Timoshkov:
Now, after seeing what precisely you're trying to do, I have to say that my suggestion should not be used in your scenario. Disabling updates is only appropriate for fully initialized prefixes. Perhaps adding new switch '-q[uite]' or '-nobanner' to wineboot would better match your needs.
Yes, correct, this is what I was hoping to find.
On Wed, Dec 11, 2019 at 11:02:24AM +0100, Sebastian M. Ernst wrote:
whenever I use `wine` in a new prefix or intentionally initialize a new prefix with `wine wineboot -i`, a configuration message window pops up for a few seconds (see attachment: "the configuration of Wine in ... is being updated, please wait ..."). I am heavily using Wine in shell scripts with new prefixes being generated by those scripts on a regular basis. In environments with X, this message window therefore becomes sort of annoying. I'd like to "deactivate" it though I have not found a simple / clean option. The best bad approach I found in forums is to install a virtual X frame-buffer and to point Wine to its DISPAY.
Is there anything possibly undocumented - an option, a switch or an environment variable - that would allow me to do what I want?
You can run Wine with DISPLAY unset. It will complain that it can't show a window, but the prefix update should still function.
Andrew
Am 11.12.19 um 15:56 schrieb Andrew Eikum:
You can run Wine with DISPLAY unset. It will complain that it can't show a window, but the prefix update should still function.
Thanks. The following does indeed work:
user@comp:~/Desktop/test5> DISPLAY= wine wineboot -i