Pdf opens with imagemagic

recently when i open a pdf from filemanager(gnome default) the pdf opens with imagemagic.
When i try setting document viewer as default by right click-->properties->open with-->selecting document viewer as default it does nothing ie: image magic still remains the default app
additionally i tried following this tutorial

but cant find .config/mimeapps.list folder

additional info:
zorin os 16.2 core gnome

The error started after i shared a folder with my mobile phone via zorin connect and tried opening a pdf in the shared folder, which opened with imagemagic, now forcing all other pdf in pc's storage to open with imagemagic as well

There should be two mimeapps.list files (it is a file, not a folder).
One in ~/.config
The other in /usr/share/applications

While you are checking /usr/share/applications, open the document viewer (org.gnome.Evince.desktop) .desktop file and check the MimeType line.
It should look like this:


I can only see mimeinfo.cache here

but searching in filemanager i was able to locate it in .config
thank you very much

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.