Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open a file in Gimp from the command line
#3
A few try-outs but no success from a batch file.

As Ofnuts points out the commands are

-n, --new-instance
Start a new GIMP instance.

-a, --as-new
Open images as new.

In linux from a terminal or a bash file gimp path-to-/file.ext will start Gimp and open the image.

From a terminal gimp --as-new path-to-/another_file.ext opens another_file in the same Gimp. Both files are open.

This is not working from a bash script. The first command opens Gimp with the file. Then nothing happens until closing Gimp, then the second command starts. Tried some options starting separate executable bash files from a main bash file. Still no good. I know it is the way bash spawns the processes but can not find a way around it. Ofnuts will know Smile
Reply


Messages In This Thread
RE: Open a file in Gimp from the command line - by rich2005 - 01-04-2019, 09:54 AM

Forum Jump: