Associate a Windows application issue

I use a local flash file (.swf) and I am trying to open it with Windows Standalone Flash Player (I assume it runs in Wine). I can use a custom command to browse to the flash player but it comes up with unable to find the flash player. It is in /home/LocalApps and as you can see its there. Why would Ubuntu MATE be unable to find the flashplayer.exe file, even when browsing to it?


I can open flashplayer.exe on its own and then open the flash file, but I want to have a click to open for a N00b that would find it difficult to open by browsing from inside the stand alone flashplayer.

what are the permissions on LocalApps/ dir?

BTW, Flash was discontinued for security reasons in December 2020.

1 Like

ya I thought using it locally would not pose a security issue. Here is the permissions of LocalApps


I effectively am the only user on my computer mickee / Brian Bogdan

you should open the file with "a Wine application" I created a folder, mickee/, added in notepad.exe Permissions on notepad.exe are: open with wine. When I click on notepad.exe from my file manager, it opens it. (first screen, autorun prompt is selected, autorun would exec a linux file, not a windows file)

Thanks for helping! When I try opening w/ a wine application I get "File Not Found" around 10 times, then nothing

Don't use Wine but maybe this (can't verify date)

Alternatively, to make life easier, you can set it so wine will automatically open .exe files files for you - instead of using the Wine File to locate the file each time. To do so, right click on the .exe file, select Properties, and then select the Open With tab. Click the 'Add' button, and then click on 'Use a custom command'. In the line that appears, type in wine, then click Add, and Close. Now all .exe files will be automatically opened by Wine, so you can use Nautilus to browse and open them instead of the Wine File.

Taken from here:

https://help.ubuntu.com/community/Wine

3 Likes

Thanks @mendy That fixed it!