I have Wine installed and several Windows applications installed there run fine, if I start them using the right mouse menu "Open with Wine program loader". But if I try starting an .exe file by just double clicking instead, the archive manager tries to open the executable.
How do I fix that?
And something like a bonus question as a former Windows user: Can this be done easily for a single file I currently see in the file manager (similar to the "Open with..." context menu in Windows) and for many file types together (like in Windows, using the menu "Folder settings" in the Explorer)?
Right-click, select Properties, open the "Open With" tab, and make Wine the default application for EXE files.
From 17.04, the wine packages have become
wine-stable
andwine-development
. These are coinstallable, so thewine.desktop
file is not installed in/usr/share/applications
by either of these packages to avoid conflicts. Hence, Wine does not have an entry in the Open With menu. From/usr/share/doc/wine-stable/README.Debian.gz
:This is slightly mistaken, it's
/usr/share/doc/wine-stable
, not/usr/share/doc/wine
.And Wine should start showing up in the Open With lists for selection.
The reason why this occurs is in this bug report, which I provided a patch for about 2 years ago: https://bugs.launchpad.net/ubuntu/+source/file-roller/+bug/351429
Regardless, the workaround I generally use is to just right click the application and select open with Wine.
That does not always work. Some settings for file type handling can be found in
In that file, I found the follow line:
and changed it to
After saving the file the result is active immediately.