Wine EXE issue SOLVED

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Wine EXE issue SOLVED

Postby David-C on Fri Apr 01, 2011 3:32 pm

Hello. I have just updated my 10.10 edition of Linux mint. Thereafter I installed Wine. However, I am having several issues with it. When I try to load windows EXE files it gives me the following error message:

The file '/media/Local Disk/ZIP/PC/Example.exe' is not marked as executable. If this was downloaded or copied from an untrusted source, it may be dangerous to run. For more details, read about the executable bit.

I honestly can't make heads or tails of what I have to do in order to give permission for EXE files. I have tried going into the EXE files properties and tick the permission, but it just automatically unticks itself straight away. No EXE file seems to associate itself with Wiine or the Wine icon either, despite me having set it to do so in the EXE's properties. This is the case with every Windows executable. I have never had this issue with previous Linux distros or Wine. Any "newbie" help would be appreciated.
Last edited by David-C on Fri Apr 01, 2011 4:04 pm, edited 1 time in total.
User avatar
David-C
Level 1
Level 1
 
Posts: 19
Joined: Fri Apr 01, 2011 3:16 pm

Linux Mint is funded by ads and donations.
 

Re: Wine EXE issue

Postby altair4 on Fri Apr 01, 2011 3:46 pm

The problem isn't wine it's something called "cautious-launcher".

Give this a shot:

Right click on an *.exe file
Then select Properties -> Open With -> Add -> Use a custom command > Then type in: wine
Back in the "Open With" tab mark the "wine" you just added as the default.

There's going to be another wine in that tab but that one has cautious-launcher embedded in it. Yours will not.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 16
Level 16
 
Posts: 6080
Joined: Tue Feb 03, 2009 10:27 am

Re: Wine EXE issue

Postby David-C on Fri Apr 01, 2011 4:03 pm

altair4 wrote:The problem isn't wine it's something called "cautious-launcher".

Give this a shot:

Right click on an *.exe file
Then select Properties -> Open With -> Add -> Use a custom command > Then type in: wine
Back in the "Open With" tab mark the "wine" you just added as the default.

There's going to be another wine in that tab but that one has cautious-launcher embedded in it. Yours will not.


Many thanks. I have followed this and it has solved the issue.
User avatar
David-C
Level 1
Level 1
 
Posts: 19
Joined: Fri Apr 01, 2011 3:16 pm

Re: Wine EXE issue SOLVED

Postby yozsa on Wed Dec 07, 2011 7:04 pm

Hi
This is my original post viewtopic.php?f=47&t=88186

I tried what you said but when I come to open with it doesnt let me to select add without selecting any other programe
yozsa
Level 1
Level 1
 
Posts: 11
Joined: Wed Dec 07, 2011 1:56 pm

Re: Wine EXE issue SOLVED

Postby altair4 on Thu Dec 08, 2011 5:12 pm

Things have changed in recent versions of Ubuntu / Gnome.

Open Nautilus as root:
Code: Select all
gksu nautilus /usr/share/applications


Look for the wine program loader then Right Click > select Properties

In the "Command" box change this:
Code: Select all
cautious-launcher %f wine start /unix

to this:
Code: Select all
wine start /unix
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 16
Level 16
 
Posts: 6080
Joined: Tue Feb 03, 2009 10:27 am

Re: Wine EXE issue SOLVED

Postby Ronjoe on Thu Dec 08, 2011 11:43 pm

As an additional note, I'd like to point out that Linux file attributes don't work in an NTFS filesystem. You should try ticking the executable box after moving it to Linux's filesystem.
Ronjoe
Level 1
Level 1
 
Posts: 5
Joined: Wed Jun 08, 2011 4:30 pm

Re: Wine EXE issue SOLVED

Postby altair4 on Fri Dec 09, 2011 7:26 am

Ronjoe wrote:As an additional note, I'd like to point out that Linux file attributes don't work in an NTFS filesystem. You should try ticking the executable box after moving it to Linux's filesystem.

The thing is that wine does not care or is even capable of determining whether a given file has a Linux executable bit set. Ubuntu created "cautious-launcher" that checks because they forgot that this is Linux and the user will always find a way around this sort of thing.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 16
Level 16
 
Posts: 6080
Joined: Tue Feb 03, 2009 10:27 am

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: Pilosopong Tasyo, WharfRat and 29 guests