Page MenuHome

Add support to full commandline expressions to our 'programm paths' in User Preferences -- Edit Images Externally is unable to launch Gimp 2.10 flatpak
Open, NormalPublic


System Information
Operating system and graphics card

Linux Mint 18.3 Cinnammon (64 bit)
Nvidia Geforce GTX 1050 Ti

Blender Version
Broken: (example: 2.69.7 4b206af, see splash screen)
Worked: (optional)

Blender 2.79b

Short description of error

Gimp 2.10 has released a flatpak version of its program .
In User Preferences/ File/Edit Images Externally = flatpak cannot be launched.

For this reason a bug with Gimp developers was filed, please read the detailed description here:


Also, before filing the bug with Gimp I posted the issue on Blender Stack Exchange:

To summarize, Gimp developers believe that, as the flatpak can be launched via terminal, blender should have the option to launch a command line as well.

Exact steps for others to reproduce the error
Based on a (as simple as possible) attached .blend file with minimum amount of steps

Download Gimp 2.10 flatpak
Open Blender 2.79b
Set User Preferences/ File/Edit Images Externally/flatpak run org.gimp.GIMP
Unwrap your model
UV Map Pane Image/Edit Image Externally


Image editor could not be launched, please ensure that the path in User Preferences > File is valid, and Blender has rights to launch it

Please read the above links to both Gimp Developers and Blender Stack Exchange for further details about the testing done.

Thank you!


To Do

Event Timeline

  1. A quick peek at the discussion suggests the easiest thing is to install real Gimp and not the flatpack version.
  1. if you figure out what we need to run the flatpack version, we can do something about it.

Hi Stephen,

  1. I've already done that (see the link to Blender Stack Exchange)
  2. According to Gimp developers, the flatpak can be run via a command line rather than a file path.

In any case, I'll put a link to this in the Gimp bug I filed with them so they will be able to give you more accurate information.

I have a feeling that flatpak is going to become the standard in a near future.

In the meantime thanks!

Hi Stephen!

About 2., as Antonella states, you can just run our flatpak-ed application with:

flatpak run org.gimp.GIMP//stable

Any option following this command will be used as options to GIMP's binary. Hence running:

flatpak run org.gimp.GIMP//stable my-awesome-uv-mapping.png

Is similar to running in former model of non-sandbox applications:

gimp my-awesome-uv-mapping.png

My guess was that your settings is expecting a path to an application binary, so basically Blender is looking for a binary called "flatpak run org.gimp.GIMP//stable" which obviously doesn't exist. Of course it's only a wild guess.

If confirmed, the solution would be to allow people to write down this settings as a command line, not as a single file.
For instance the Exec field of desktop files works like this and this is much more powerful.

In any case, flatpak applications are getting more and more common (and this looks like it is meant to continue this way), and sandboxed applications in general are more common (be it Snap or whatever else). It would be nice if Blender could support such command lines.

Bastien Montagne (mont29) lowered the priority of this task from Needs Triage by Developer to Normal.

Though this is not a bug, @Campbell Barton (campbellbarton), or maybe @Brecht Van Lommel (brecht), interested in checking that? Not sure how hard it would be to support proper command line here…

Bastien Montagne (mont29) renamed this task from User Preferences/File/Edit Images Externally/unable to launch Gimp 2.10 flatpak to Add support to full commandline expressions to our 'programm paths' in User Preferences -- Edit Images Externally is unable to launch Gimp 2.10 flatpak.Jul 31 2018, 3:45 PM
Bastien Montagne (mont29) changed Type from Bug to To Do.