thanks for the hint. I found the following strange configuration: as a normal user:
> xdg-mime query default application/pdf zathura-pdf-poppler.desktop; > xdg-mime default zathura-pdf-poppler.desktop application/pdf xdg-open still uses gimp. As root: root > xdg-mime query default application/pdf zzz-gimp.desktop I deleted zzz-gimp.desktop from /usr/share/applications/, then xdg-open uses zathura. Thanks, Sven On Tue, Jun 07 2016 at 02:16:03 PM, Paul Colquhoun wrote: > On Tue, 7 Jun 2016 13:42:11 [email protected] wrote: >> Hi, >> >> xdg-open opens a pdf file with Gimp. I have the following configuration: >> > xdg-mime query filetype tmp/arulesViz.pdf >> >> application/pdf > > > This tells you what the mime type of the file is, not what opens it. > > Try running: > xdg-mime query default application/pdf > > to see what the default application is for that mime type. > > Then you can run > xdg-mime default insert-your-application-here application/pdf > > to change the application that opens that mime type.

