There is no windows program configured to open this type

Questions about Wine on Linux
Post Reply
postcd
Level 1
Level 1
Posts: 8
Joined: Mon Nov 05, 2018 5:07 am

There is no windows program configured to open this type

Post by postcd » Tue Jan 08, 2019 6:30 pm

Hello,

my Windows app on Linux opens an file explorer window where is mp4 file and clicking on it says:

There is no windows program configured to open this type

So i found https://wiki.winehq.org/FAQ where is chapter "6.6.3 How do I associate a native program with a file type in Wine?"

But i do not understand that example on how i need to apply it to video files like mp4.

I already installed media player classic windows app thru Wine:
/home/ME/.wine/drive_c/Program Files/MPC-HC/mpc-hc64.exe

What is the easiest way to associate all video types to this media player?

User avatar
dimesio
Moderator
Moderator
Posts: 12677
Joined: Tue Mar 25, 2008 10:30 pm

Re: There is no windows program configured to open this type

Post by dimesio » Wed Jan 09, 2019 8:18 am

Generally winemenubuilder will make the associations when installing the app. If it didn't, you can make the associations yourself the same way you would for any native app, using whatever tools your desktop environment provides. I can tell you that for KDE, it's done in Configure Desktop => Applications => File Associations. Beyond that, ask for help on your distro forum; how to configure your desktop environment isn't really a Wine question.

postcd
Level 1
Level 1
Posts: 8
Joined: Mon Nov 05, 2018 5:07 am

Re: There is no windows program configured to open this type

Post by postcd » Wed Jan 09, 2019 10:57 am

I think You wrongly understood.
My Linux system (Thunar file explorer / XFCE4) opens mp4 and other video files good, problem is with Wine integrated file explorer or what is that (it has wine icon in the corner of the window).

User avatar
dimesio
Moderator
Moderator
Posts: 12677
Joined: Tue Mar 25, 2008 10:30 pm

Re: There is no windows program configured to open this type

Post by dimesio » Wed Jan 09, 2019 11:37 am

You asked for "the easiest way to associate all video types to this media player," and that's what I answered.

As for why it doesn't work in Wine's file explorer, I think you may be running into https://bugs.winehq.org/show_bug.cgi?id=11461.

postcd
Level 1
Level 1
Posts: 8
Joined: Mon Nov 05, 2018 5:07 am

Re: There is no windows program configured to open this type

Post by postcd » Thu Jan 10, 2019 7:32 am

Thx, please what is the workaround to this 10 years old issue of being unable to open file from Wine file explorer?
Can you please answer my last sentence in my first post?

User avatar
dimesio
Moderator
Moderator
Posts: 12677
Joined: Tue Mar 25, 2008 10:30 pm

Re: There is no windows program configured to open this type

Post by dimesio » Thu Jan 10, 2019 8:01 am

There is no workaround for Wine's file explorer that I know of.

As to your question at the end of your original post, I already answered it: the easiest way to associate all video types with MPC-HC is to do it through your desktop environment. That should enable you to open those files directly from your native file manager rather than bothering with Wine's file explorer at all.

postcd
Level 1
Level 1
Posts: 8
Joined: Mon Nov 05, 2018 5:07 am

Re: There is no windows program configured to open this type

Post by postcd » Thu Jan 10, 2019 8:15 am

@dimesio You think i can make Wine to open my file manager (Thunar) instead of stupid Wine explorer? I am using XFCE4.
I just tried to use MIME type manager and ressinged mp4 from Linux MPV to MPC-HC (windows), but the error message i described in first post still appears in wine ran apps (these was restarted after MIME change)

Image

And how i can make wine apps to open folder in Thunar instead of in stupid WIne explorer?

Post Reply