RT export to GIMP niggle...

Hi all, whenever I export an image from RT to GIMP using the external editor mode, I get the following window that shows up after GIMP launches…

Screenshot from 2024-07-15 14-47-25

This doesn’t happen when the image is opened in GIMP standalone. I know I can just choose “page 1”, but I’d rather the window not show at all.

How can I avoid this window altogether?

I’m working with a source-compiled dev version of RT 5.10 and system installed version of GIMP 2.10.

EDIT: Gone back to 5.9, too much frustration trying to get 5.10 to play nice with GIMP, among other oddities.

I don’t have the same issue. What source file type and camera are you using?

Hi Lawrence, I’m using a Canon 60D with raw file type .cr2. Though I don’t think it’s related to that because RT v.5.9 plays nice with both GIMP stable and dev (flatpak) versions.

Thanks for the info. I don’t have a 60D image (raw.pixls.us is still down), but I do have a 7D II cr2. I was able to reproduce the issue by setting the “Metadata copy mode” to “Copy unchanged”. What’s happening is that there is some metadata from your cr2 files that indicate there are other images in the file. To fix this, make sure the “Metadata copy mode” is set to “Apply modifications” and that all the images are unchecked:
image

Thanks Lawrence, much appreciated. I’ll download the appimage again and have another go. Cheers.

So, I’ve tried the stable and the newly released rc1 version of 5.11 and they seem to work fine now, thanks.

However, whenever I export directly to GIMP 2.10 using either appimage, most of the icons in GIMP fail to load (see pic below) and when exporting to GIMP 2.99, the splash screen of GIMP loads, but not the program itself.

Everything works as expected when using RT 5.9, which is a system version from the debian repository.

Any ideas?

Screenshot from 2024-07-22 15-24-56

The AppImage sets some environment variables that point to resources inside the AppImage. When launching GIMP, GIMP will look inside the AppImage and it won’t find the icons. To make it work correctly, you can unset these environment variables. I can give detailed instructions once I’m back on my computer, but if you are feeling adventurous, try this:

First, extract the contents of the AppImage. There is an option that you can give to the AppImage that will tell it to extract itself. I think it goes like this.
./rawtherapee.AppImage --appimage-extract
Inside is a file called AppRun. Open it in a text editor and you will see a couple of environment variables getting set. One of them is causing the issue. If I recall correctly, it has something to do with pixbuf. Make a note of the environment variable’s name.

Next, create a shell script that unsets the variable and launches GIMP. Go in RawTherapee, open preferences, and add a new external editor. Set the command to the path of the shell script. Save the preferences. Go into the editor and click the arrow next to the external editor button. Select the entry corresponding to your shell script. Now when you click the external editor button, it will invoke your script to launch GIMP with all the icons.

Edit: I go the extracted file name wrong. AppRun calls another file, apprun-hooks/linuxdeploy-plugin-gtk.sh.

This is the shell script you can use to launch GIMP. Save it in a file and create an external editor entry for it.

#!/bin/bash
unset GDK_PIXBUF_MODULE_FILE
gimp