gimp-remote - tells a running GIMP to open a (local or remote) image file.
gimp‑remote [‑h] [‑‑help] [‑v] [‑‑version] [‑‑display display] [‑e] [‑‑existing] [‑q] [‑‑query] [‑s] [‑‑no‑splash] [‑p] [‑‑print‑xid] filename …
gimp-remote is a small utility that tells a running GIMP to open one or more (local or remote) image files. It does so by searching for a GIMP toolbox on the active display. If it can find a GIMP toolbox, a synthetic drop event is created which makes GIMP think the files would have been dropped onto the toolbox. More than one filename or URL can be specified on the commandline.
If no GIMP window is found, gimp-remote will start a new GIMP instance and ask it to load the specified images. If no filename or URL is given, gimp-remote will start a new GIMP. This behaviour can be altered using the command-line options described below.
If you are using GIMP on Linux or another platform with the D-Bus message bus system, chances are good that this functionality is already built into the main GIMP executable and that you will not need to use gimp-remote.
gimp-remote accepts the following options:
Sven Neumann and Simon Budig.
gimp(1) , gimprc(5) , gimptool(1)