Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make GIMP invoke Rawtherapee and vive-versa
#1
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?
Reply
#2
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-kesselgulasc...buntu/gimp and some hints here: https://www.gimp-forum.net/Thread-Gimp-2...-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.
Reply
#3
(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-kesselgulasc...buntu/gimp and some hints here: https://www.gimp-forum.net/Thread-Gimp-2...-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.
Reply


Forum Jump: