Making Wine the default handler for EXE in Ubuntu

winehq_logo_glass

Did you know you can run many Windows programs right through Ubuntu Linux. Use a program called “Wine”.

To install Wine:

  1. Go to the Ubuntu Sofware Center and find “Wine”.
  2. Install Wine – Wine is now installed.

Getting Wine to open exe files by default

Tip/Warning: If you do not do the second section of steps, Ubuntu will attempt to open exe files using the “File Roller” application. Here is how to fix that.

  1. Then open a terminal and type:
    sudo gedit  ~/.local/share/applications/mimeapps.list
  2. When in gedit, add the following text to the bottom:
    [Default Applications]
    application/x-ms-dos-executable=wine.desktop

Congratulations, you can now double click on exe files for Windows and open them with Wine.

 

Leave a Reply