I installed Imagemagick and noticed that now my pdf files show that as the default application to open them. Tried to change that in properties but it would not take it. Removed Imagemagick in ubuntu-software but checking "properties" still shows Imagemagick as the default app to open for that pdf file. and it does not change when I select document viewer as the default app. Tried a reboot (several times) and each time ubuntu-software shows Imagemagick as "installed software" I remove it and it shows removed but is right back on the next re-start
The steps I took are as follows I opened "UBUNTU Software" clicked on the "Installed" drop down, Scrolled down to "Imagemagick" and clicked on "Remove". A small "1" then appeared next to "Installed" momentarily, it disappeared and the entry for "ImagMagick" also disappeared as there were two entries for "ImageMagick" I did this twice.
$ dpkg -l | grep imagemagick
ii imagemagick 8:6.8.9.9-7ubuntu5.7 amd64 image manipulation programs -- binaries
ii imagemagick-6.q16 8:6.8.9.9-7ubuntu5.7 amd64 image manipulation programs -- quantum depth Q16
ii imagemagick-common 8:6.8.9.9-7ubuntu5.7 all image manipulation programs -- infrastructure
dpkg -l | grep imagemagick
after having removed the package.