3 ms·
Snap / Flatpak help with providing Wine configuration, but you can't pre-package stuff that's not open source for instance. For example you buy some game on GO
by shmerl 8y ago
Snap / Flatpak help with providing Wine configuration, but you can't pre-package stuff that's not open source for instance.
For example you buy some game on GOG, then something like pre-configured Snap / Flatpak or PlayOnLinux / Lutris scripts can help automating configuration but you still need to provide the installer to them first.
One problem that I personally encountered with that approach is that someone has to maintain those scripts. They tend to become obsolete, since Wine is changing and things are moving forward, while the amount of such games is potentially quite huge and there are not enough maintainers to update them all.
In the end it's just easier to install stuff yourself in a new prefix. Sandboxing though is a neat feature which you can use even without relying on such pre-made scripts.
- simosx 8y agoSandboxing (snap or flatpack) is more fragile than running the application in a GUI container. If you do not grant a permission, the application will fail. You will get to know about these issues from bug reports. With a GUI LXD container, you can set up Wine as best as possible, then take a snapshot of the container in its pristine condition. Then, you can install Windows programs in the same container, or clone the original container and install each in a separate container. Each action takes only a few seconds compared to what you would get with Virtualbox.
- shmerl 8y agoSure, containers should be better for sandboxing. > Each action takes only a few seconds compared to what you would get with Virtualbox. For VMs, I'm usually using Qemu/KVM with virtual-manager when needed, not VirtualBox (usually running Linux guest on Linux host). It has better integration and hardware support like USB redirection, and now there is also virgl acceleration catching up to OpenGL and Vulkan.