On 09.12.2016 17:24, Vincent Lefevre wrote: > On 2016-12-09 16:44:52 +0100, Jens Reyer wrote: > This is bad. I think that the main problem is that Wine creates files > that will take precedence without the user's consents. But even if > the user wants Wine's desktop files, they should still have less > precedence than the ones from the native system. The spec should > provide a way to do this.
Unfortunately I haven't found a way to assign a *lower* priority so far. So I think I have to further investigate what winemenubuilder exactly does, and if we can prevent creation of these .desktop files without breaking anything else. >> When did you first observe this behavior? Just now or for a longer time? > > I do not use xdg-open very much, so I don't know. > > Well... I think I had already removed the .wine directory in the past > for some reason. This could explain why the files were created at > some point. Not sure. Good, so I assume nothing related changed recently. Instead we are working on an issue that exists since years (I observed it once or twice, but could never reproduce till now). These common mime types might also be affected: application/pdf application/rtf application/xml image/gif image/jpeg image/png text/html text/plain >> Can you please also try with a fresh user with an empty /home? > > I'll try later, perhaps on Monday if I cannot to this remotely. > But see my remark above. Thanks in advance. Since this is a new topic for me, I'd hope to see my assumptions confirmed. I expect it to break for you after "wineboot && winecfg" (or whatever is necessary to trigger the creation of the .desktop files). All above mentioned types should be affected, unless you have them in your mimeapps.list. Greets jre

