Gimp-Forum.net
How to make GIMP invoke Rawtherapee and vive-versa - 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: How to make GIMP invoke Rawtherapee and vive-versa (/Thread-How-to-make-GIMP-invoke-Rawtherapee-and-vive-versa)



How to make GIMP invoke Rawtherapee and vive-versa - LateJunction - 09-07-2019

I'm running Mint 19.2 Cinnamon. I have installed Rawtherapee 5.6 (appimage), DarkTable (2.6.2) and GIMP 2.10.12 (flatpack), in that order. In Rawtherapee preferences, the external editor is set to GIMP. If I try to invoke the external editor it fails with a message asking me to set the correct path in Rawtherapee preferences. I assume this mean setting the path to GIMP but there is no data entry 'box' in preferences where I can set a path. Furthermore I don't know what the path to GIMP is or how to find it. Any advice?

GIMP documentation says that if I attempt to open a raw image in GIMP, it will automatically invoke Rawtherapee. When I try to do this GIMP tells me that no raw image processor is installed and invites me to install either DarkTable or Rawtherapee. Why can't GIMP detect that both of these are already installed?


RE: How to make GIMP invoke Rawtherapee and vive-versa - rich2005 - 09-07-2019

As far as I know, your setup is not going to work. I used to run a flatpak and the only RAW importer I got to work was nuFraw and only then by adding some lib files to the flatpak.

Quote:In Rawtherapee preferences, the external editor is set to GIMP. If I try to invoke the external editor it fails with a message asking me to set the correct path in Rawtherapee preferences

If you look in the Gimp 2.10 .desktop file the command to start Gimp is
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=gimp-2.10 --file-forwarding org.gimp.GIMP @@u %U @@

You could try in Rawtherapee (RT) preferences "flatpak run org.gimp.GIMP" in the Custom Command Line it might / might not work.

[Image: RgavCGx.jpg]

Quote:GIMP documentation says that if I attempt to open a raw image in GIMP, it will automatically invoke Rawtherapee. When I try to do this GIMP tells me that no raw image processor is installed and invites me to install either DarkTable or Rawtherapee. Why can't GIMP detect that both of these are already installed?

(1) As before not going to work with a flatpak Gimp. It is sandboxed. Only runs what is in the sandbox.
(2) A RT appimage is never going to work. When you run the appimage it unpacks to a temporary folder. How does Gimp know where that temporary is?

If you keep your present setup, best you can do is open the RAW in RT, export as a TIF, open in GIMP.

If you want it integrated, you need to install the Gimp 2.10.12 from a PPA see: https://launchpad.net/~otto-kesselgulasch/+archive/ubuntu/gimp and some hints here: https://www.gimp-forum.net/Thread-Gimp-2-10-10-and-Ubuntu-18-04-LTS

and a better RT 5.5 from https://launchpad.net/~dhor/+archive/ubuntu/myway

Just tried RT in a Mint 19.1 VM. It works. The sequence is
Gimp -> File -> Open and choose the RAW file
RT opens the RAW, do any adjustments
Close RT and after a bit of thought it is sent to GIMP. Not the fastest procedure I have come across.


RE: How to make GIMP invoke Rawtherapee and vive-versa - LateJunction - 09-07-2019

(09-07-2019, 06:08 PM)rich2005 Wrote: As far as I know, your setup is not going to work. I used to run a flatpak and the only RAW importer I got to work was nuFraw and only then by adding some lib files to the flatpak.

Quote:In Rawtherapee preferences, the external editor is set to GIMP. If I try to invoke the external editor it fails with a message asking me to set the correct path in Rawtherapee preferences

If you look in the Gimp 2.10 .desktop file the command to start Gimp is
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=gimp-2.10 --file-forwarding org.gimp.GIMP @@u %U @@

You could try in Rawtherapee (RT) preferences  "flatpak run org.gimp.GIMP"  in the Custom Command Line  it might / might not work.

[Image: RgavCGx.jpg]

Quote:GIMP documentation says that if I attempt to open a raw image in GIMP, it will automatically invoke Rawtherapee. When I try to do this GIMP tells me that no raw image processor is installed and invites me to install either DarkTable or Rawtherapee. Why can't GIMP detect that both of these are already installed?

(1) As before not going to work with a flatpak Gimp. It is sandboxed. Only runs what is in the sandbox.
(2) A RT appimage is never going to work. When you run the appimage it unpacks to a temporary folder. How does Gimp know where that temporary  is?

If you keep your present setup, best you can do is open the RAW in RT, export as a TIF, open in GIMP.

If you want it integrated, you need to install the Gimp 2.10.12 from a PPA see: https://launchpad.net/~otto-kesselgulasch/+archive/ubuntu/gimp and some hints here: https://www.gimp-forum.net/Thread-Gimp-2-10-10-and-Ubuntu-18-04-LTS

and a better RT 5.5 from https://launchpad.net/~dhor/+archive/ubuntu/myway

Just tried RT in a Mint 19.1 VM. It works. The sequence is
Gimp -> File -> Open and choose the RAW file
RT opens the RAW, do any adjustments
Close RT and after a bit of thought it is sent to GIMP. Not the fastest procedure I have come across.

Hi,
thanks for this detail. I think I'll try reverting to non-appimge/flatpack versions of RT & GIMP and see if that works. btw, thanks for info about an appimge opening as a temporary file - I didn't understand that before, but now the problems that I described in my post start to make sense.