Here is a Wine “error” that appears to be fairly new, and if you’ve been upgrading your system (and Wine along with it), you probably haven’t encountered it yet. However, if you’ve recently installed Ubuntu (10.04 – not sure if this affects any earlier versions), you would have noticed it won’t let you run any Windows .exe files:
Blocked: wine start /unix
The file ‘/home/user/Downloads/program_name.exe’ is not marked as executable. If this was downloaded or copied form an untrusted source, it may be dangerous to run. For more details, read about the executable bit.
If, like me, you decided to do a fresh install, but copied your old .wine folder over so all your Windows programs work as they had in the old system you’ve migrated from, you probably have no problems opening those previously installed, only new .exe files that Wine hasn’t dealt with before.
But this isn’t a bug or an error, just an overly-cautious default setting, and it is actually really easy to disable. Open a terminal and enter the following command:
gksu gedit /usr/share/applications/wine.desktop
Located the line Exec=cautious-launcher %f wine start /unix and change it to Exec=wine start /unix %f
Save and exit the file, and Wine will now behave as you want when it comes across new Windows programs.
If you prefer to leave this cautious setting as the default, you can always exclude individual Windows programs or, rather, bypass this security measure for individual .exe files. Simply right-click the .exe file in question, select Properties, and in the Permissions tab check “Allow executing file as program“. Click Close and that particular .exe will open as normal when you double-click it.
Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!