Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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)?

share|improve this question
up vote 11 down vote accepted

Right-click, select Properties, open the "Open With" tab, and make Wine the default application for EXE files.

share|improve this answer
Thanks. Works fine now. I'm still wondering why the archive manager was assigned to executables in the first place. Maybe to read executable zip files? – Bananeweizen Aug 30 '10 at 17:28
That's my guess too: self-extracting archives (not necessarily zip, rar has those too IIRC). – Marius Gedminas Sep 9 '10 at 14:29

The reason why this occurs is in this bug report, which I provided a patch for about 2 years ago:

Regardless, the workaround I generally use is to just right click the application and select open with Wine.

share|improve this answer
Thanks for the info. That's exactly what I suspected, but were not able to find out with my limited knowledge. – Bananeweizen Sep 29 '10 at 17:11

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.

share|improve this answer
If this answer is intended as a comment on someone else's answer (i.e. Marius Gedminas) you should add information to your answer about whose answer you are referring to. – karel Jul 27 '13 at 8:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.