On 03/11/2018 09:04, Jérémy Zurcher wrote: > Hi, > > you should first debug xdg-... > > XDG_UTILS_DEBUG_LEVEL=2 xdg-mime query default 'text/html'
OK. > XDG_UTILS_DEBUG_LEVEL=2 xdg-mime query default 'bad/wrong' -> to see what > files are read Now *that* was enormously useful, thank you. Pipe std.err and tweak it to be a grep for 'pdf', execute the lines, then grep the output for 'gimp'...eg XDG_UTILS_DEBUG_LEVEL=2 xdg-mime query default 'bad/wrong' 2>&1 | sed -e "s+Checking+grep -iH pdf+" -e "s+ and + +"| bash | grep -i gimp and it turns up: /usr/share/applications/mimeinfo.cache:application/pdf=qpdfview.desktop;evince-previewer.desktop;evince.desktop;kde4-okularApplication_pdf.desktop;xreader.desktop;texworks.desktop;gimp.desktop; /usr/share/applications/mimeinfo.cache:application/postscript=qpdfview.desktop;evince-previewer.desktop;evince.desktop;kde4-okularApplication_ghostview.desktop;xreader.desktop;gimp.desktop; Clearly something has been meddling with the settings for no good reason. > so on a 'regular setup' everything boils down to : .config/mimeapps.list That seems to be clean, but /usr/share/applications/mimeinfo.cache isn't. Can I just delete it manually, or is there a procedure to flush it out? ///Peter _______________________________________________ enlightenment-users mailing list email@example.com https://lists.sourceforge.net/lists/listinfo/enlightenment-users