Opening exe files

Questions about Wine on Linux
Post Reply
Ubuntunube
Newbie
Newbie
Posts: 3
Joined: Sat Feb 20, 2021 8:04 am

Opening exe files

Post by Ubuntunube » Sat Feb 20, 2021 8:18 am

Hi everyone,
I am trying to open an old windows XP game using wine , used to be able to do it on a laptop running Ubuntu by right clicking and selecting open with another application and choosing Wine. I have now installed Ubuntu which has wine pre installed onto my desktop computer, however when I right click, open with another application, I do not get the option to open with Wine any more. How do I open exe files now?
I am new to Ubuntu so simple answers would be helpful.

jkfloris
Level 9
Level 9
Posts: 1376
Joined: Thu Aug 14, 2014 10:10 am

Re: Opening exe files

Post by jkfloris » Mon Feb 22, 2021 11:57 am

The easiest way is probably:
Open a terminal and type:

Code: Select all

wine explorer
In the new window, browse to your file and open the .exe file with a double-click.

User avatar
Bob Wya
Level 12
Level 12
Posts: 2987
Joined: Sat Oct 16, 2010 7:40 pm
Location: Scotland
Contact:

Re: Opening exe files

Post by Bob Wya » Mon Feb 22, 2021 3:20 pm

@Ubuntunube

You could try installing a repository I created to provide Wine Desktop Integration for my Gentoo Wine packages...

See: Github: bobwya / wine-desktop-common .

It does rely on your (Ubuntu) Wine package to install a file (or symbolic link):

Code: Select all

/usr/share/applications/wine.desktop
(or similar).
The WineHQ Ubuntu packages will do this.

Bob

Ubuntunube
Newbie
Newbie
Posts: 3
Joined: Sat Feb 20, 2021 8:04 am

Re: Opening exe files

Post by Ubuntunube » Wed Feb 24, 2021 10:46 am

Thanks jkfloris,
I tried your suggestion, but when I double click the exe file I get an Error box appear.

Thanks Bob Wya,
I am new to Ubuntu, /usr/share/applications/wine.desktop just gives me an no such file. Following the other route I get to the Wine download server page and do not know what to do there.

User avatar
Bob Wya
Level 12
Level 12
Posts: 2987
Joined: Sat Oct 16, 2010 7:40 pm
Location: Scotland
Contact:

Re: Opening exe files

Post by Bob Wya » Thu Feb 25, 2021 7:40 am

Ubuntunube wrote:
Wed Feb 24, 2021 10:46 am
...

Thanks Bob Wya,
I am new to Ubuntu, /usr/share/applications/wine.desktop just gives me an no such file. Following the other route I get to the Wine download server page and do not know what to do there.
Have you followed the instructions to install the WineHQ Ubuntu Wine package ?
I was stating that you should install the WineHQ winehq-devel package.

Then this should install the file:

Code: Select all

/usr/share/applications/wine.desktop
Then you should be able to follow the instructions, on the Github repository README, to manually install Github: bobwya / wine-desktop-common

Bob

Ubuntunube
Newbie
Newbie
Posts: 3
Joined: Sat Feb 20, 2021 8:04 am

Re: Opening exe files

Post by Ubuntunube » Fri Feb 26, 2021 4:22 am

Hi Bob,
I was not sure what to do when I got to the "Add repository" section. I have now completed the wine install and it all works perfectly, thanks for all your help.

User avatar
Bob Wya
Level 12
Level 12
Posts: 2987
Joined: Sat Oct 16, 2010 7:40 pm
Location: Scotland
Contact:

Re: Opening exe files

Post by Bob Wya » Fri Feb 26, 2021 7:58 am

@Ubuntunube

np... That's great to hear! 8)

Bob

Post Reply