How to change the default program which opens a file type (for example a .png file) within Wine?
When I try to open a png file within Wine by an email client (installed under Wine), the default Wine program which is supposed to open png files is used (instead of the default image viewer of my Linux System).
I would rather prefer to open a .png file with the default program of my Linux system which handles .png files.
My Linux system open png files by GPicView. When I click on a png file, GPicView opens them without problem. When working by Wine programs, I would prefer to open png files by GPicView as well.
To reproduce the problem:
For example when I execute the Windows version of Alpine Email Client using Wine (see http://alpine.x10host.com/) when I try to open a .png email attachment, Alpine try to open it with Wine Internet Explorer which fails (no image can be seen when Internet Explorer opens).
To be precise, I use Lubuntu 18.04, Wine version is 3.0
Other observation: When I try to open a pdf attachment by Alpine, the default pdf viewer of my system (which is Document Viewer (Evince Authors)). This shows that the problem comes from Wine and not my Email Client. It seems that as Wine on my system seems to lack support for opening pdf files, it opens it by the default program of my system.