Open With... GIMP Flatpak Version

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

Post Reply
XnViewOnLinux
Posts: 12
Joined: Sun Mar 26, 2017 4:39 am

Open With... GIMP Flatpak Version

Post 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.
User avatar
RayCulp
Posts: 3
Joined: Thu Jun 05, 2025 1:57 pm

Re: Open With... GIMP Flatpak Version

Post 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.

Code: Select all

If Program.IsBroken Then
   Program.Debug
Else
   Program.DoNotTouch
EndIf
Post Reply