HGL
quickest-silver

How to access the Wine Control Panel of a prefix

Bottles has a list of "Wine legacy tools" which includes the Wine Control Panel, where you can edit your Internet Settings for your prefix. Heroic only has WINECFG which gives you the Configuration, but not the Control Panel.
Solution:
Open Winetricks, select "Select the default wineprefix" -> "Run a Wine cmd shell". Run control in the shell, the control panel should open What's your exact use case for this? If you're doing this to fix an issue with a game, we'd like to add a protonfix for it (so it automatically happens for everyone running that game)...
Jump to solution
7 Replies
Solution
CommandMC
CommandMC2mo ago
Open Winetricks, select "Select the default wineprefix" -> "Run a Wine cmd shell". Run control in the shell, the control panel should open What's your exact use case for this? If you're doing this to fix an issue with a game, we'd like to add a protonfix for it (so it automatically happens for everyone running that game)
quickest-silver
quickest-silverOP2mo ago
This is for disabling internet access. There doesn't seem to be a switch in Heroic to do that.
CommandMC
CommandMC2mo ago
Right, but why do you want to do that?
quickest-silver
quickest-silverOP2mo ago
Some ReShade functions are disabled when it detects internet traffic. Even if you play Single Player, a game may try to access some server. I've tried disabling wininet before which didn't work, and setting the proxy to 127.0.0.1 may not be guaranteed to work because a program cannot be forced to use that proxy..? I wish there were a simple switch in Heroic to force it from the outside tbh.
CommandMC
CommandMC2mo ago
If Wine doesn't have a feature to do this, it cannot be implemented in Heroic. If Wine does have something that fits your use case, feel free to create a PR to Heroic
quickest-silver
quickest-silverOP2mo ago
I haven't been able to find a recent thread making a definitive statement about whether Wine has such a feature, in 2020 it was not possible yet. Proposed solutions have been to launch Wine with unshare -n (https://unix.stackexchange.com/questions/68956/block-network-access-of-a-process) or firejail (https://forums.lutris.net/t/feature-request-option-to-block-internet/10383).
CommandMC
CommandMC2mo ago
For now I'll tag this as resolved (since your original issue is solved). If you do find a method of preventing internet access completely, feel free to add it here (or create a new thread for it)

Did you find this page helpful?