Ubuntu – How to ensure Wine does not auto run .exe files

Securitywine

I want to install Wine only for running a program, but I don't want to open any other Windows file (for security). Is it possible to ensure Wine does not execute .exe files automatically? Thank you.

Best Answer

Wine does not run files automatically (poor wording choice on your part).

However, if you want exe files to open with something else by default, you need to change the associated program for exe files to something other than Wine (you can do this from the properties window in Nautilus).

To run your program, you can create a .desktop file or simply use "Open With" from the context menu.

Related Question