Page 1 of 1

Open With... GIMP Flatpak Version

Posted: Mon Nov 18, 2019 2:48 am
by XnViewOnLinux
I have been using and enjoying XnView MP on Linux Mint for quite some time. I added the GIMP executable to the Configure Programs dialog quite some time ago and it works great. The Linux Mint repository is a bit behind on the GIMP version so I installed the latest Flatpak version of GIMP.

The problem I'm having is that I can't get it working in the Configure Programs dialog so I can use "Open With...".

The path being used by the Linux Mint start menu is '/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=gimp-2.10 --file-forwarding org.gimp.GIMP @@u %U @@' (without the single quotes).

I tried selecting the executable /usr/bin/flatpak and adding the rest to the Parameter field but that doesn't work. Any help would be appreciated.

Re: Open With... GIMP Flatpak Version

Posted: Thu Jun 05, 2025 2:18 pm
by RayCulp
This question is old, but it hasn’t been answered yet, so here is a workaround that works for me.

Create a bash script with the following command:

Code: Select all

#!/bin/bash
flatpak run org.gimp.GIMP "$1"
In XnView, configure a new "Open with" program that points to this script. The path to the script is sufficient. No additional arguments need to be provided.

I hope this helps.