Opening exe files

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

Opening exe files

Post by Ubuntunube »

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 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Opening exe files

Post by jkfloris »

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: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Opening exe files

Post by Bob Wya »

@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 »

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: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Opening exe files

Post by Bob Wya »

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 »

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: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Opening exe files

Post by Bob Wya »

@Ubuntunube

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

Bob
Locked