rozniak / xfce-winxp-tc

Windows XP stuff for XFCE
Other
1.13k stars 37 forks source link

Run dialog no longer shows executables in browse dialog #214

Open rozniak opened 1 year ago

rozniak commented 1 year ago

On Debian 12, seems like xdg-mime has been updated and correctly distinguishes between libraries and executables. As a result, executables are now no longer showing up when browsing using the file picker.

Easy fix - add the application/x-executable MIME type to the filter here: https://github.com/rozniak/xfce-winxp-tc/blob/master/shell/run/src/dialog.c#L375

Probably worth just adding it, rather than replacing the shared library MIME type that's there in case this doesn't apply to all distros yet.

rozniak commented 1 year ago

Thinking about it - could fix this then raise another issue to detect whether the application/x-executable MIME type is picked up by testing some known ones in /usr/bin. That's more a feature though so can save it for a separate issue.