Gimp-Forum.net
Another plea for help - "open with" - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Installation and usage (https://www.gimp-forum.net/Forum-Installation-and-usage)
+---- Forum: Linux and other Unixen (https://www.gimp-forum.net/Forum-Linux-and-other-Unixen)
+---- Thread: Another plea for help - "open with" (/Thread-Another-plea-for-help-open-with)



Another plea for help - "open with" - david - 11-05-2024

Ubuntu 20.04 with Unity desktop
Gimp 2.10.38 (PandaJim with Python 2.7)

Since yesterday I have lost the "Open with GNU Image Manipulation Program" for jpg, png and gif files when I am in the files menu. (tif files open normally.)
However, if I click on a thumbnail for these file types on the Unity desktop I get the option to open with Gimp.

In the gimp.desktop file there are: image/jpeg; image/png; and image/gif;

In ~/.config/mimeapps.list I can see image/jpg=gimp.desktop; image/png=gimp.desktop; and image/gif=gimp.desktop;

In addition there are numerous entries of the form: image/jpeg=GIMP-2.10.21.desktop which I suspect are obsolete as there is no GIMP-2.10.21.desktop file, only a
gimp.desktop

The only changes I have made are to fit a second monitor and to install XnView MP.

I have spent many hours searching the internet without finding a clue as to what may be the problem!

Any help most gratefully received!

David.


RE: Another plea for help - "open with" - Ofnuts - 11-05-2024

No need to do this the hard way, Unity must have some kind of "file associations" dialog.

Otherwise the spec is here: https://specifications.freedesktop.org/mime-apps-spec/1.0.1/file.html


RE: Another plea for help - "open with" - david - 11-05-2024

Problem solved.

Ofnuts,

Thanks for the reply.
Solved by pointing "open with" at the Gimp binary - it fixed the problem for all three file types.

David.