On 04/11/2018 13:14, Carsten Haitzler (The Rasterman) wrote: [...] > it'll pick one of whatever app says it can open that mime type... > whatever comes first that it finds,
That was my understanding also. But it doesn't: * /usr/share/applications/mimeinfo.cache says (simplified) application/pdf=qpdfview.desktop;evince.desktop;gimp.desktop; because *I* want them to open with qpdfview but evince disagreed *and then* GIMP stuck its oar in and added itself * if I type the command xdg-open foobar.pdf it opens in evince * if I double-click on foobar.pdf in efm it opens in qpdfview * if the genealogical application Gramps generates a PDF report, it opens GIMP to display it! Obviously E is doing it right and the others are wrong :-) > UNLESS you happen to change that. and it's as simple as opening that > mime type via efm and using "open with" ... and selecting the > appropriate app, then it'll use whatever you last happened to use > there as that becomes your preferred opener of that type. Part of the problem is that I hardly ever use GUI file managers, and if I do it's usually caja. > you could beat your head against the massive default applications > dialog and manually select there mime type by mime type... but just > using efm is the simplest way... Yes, but fortunately it was only to mime types and both the bogus associations were made by one application. I have added the relevant commands to my setup script for installing new systems now, so I shouldn't have any more trouble. Thanks for your help. ///Peter _______________________________________________ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users