Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open a file in Gimp from the command line
#4
Thanks Ofnuts and Rich2005 for your help!
I think I found a path to the solution but I have still a last mile to walk.

With this alternative command, I can open a new instance of Gimp if needed or stay in the opened instance:

open ~/Documents/Archive/scanpic1.jpg -a gimp <-- launch a new gimp and open the file

open ~/Documents/Archive/scanpic2.jpg -a gimp <-- open the second file in the existing gimp

There is still a bit of work that I have to do. Gimp looks like a symlink to the "old" 2.8 that's still on my system. I have to check if its really the case and then link the word "gimp" to the 2.10.8 build that I'm using since I discovered Partha Bagchi's build by reading posts in this forum! And of course I also need to check if I can integrate this in my script.

dw

Edit: it works in the script (with 2.8 for now) but I can't find how to link mcgim 2.10.8 to the alias gimp. Maybe, as 2.10 is an app which does not rely on X11 anymore (from my understanding) it has to be done some other way?
Reply


Messages In This Thread
RE: Open a file in Gimp from the command line - by dataweary - 01-04-2019, 10:35 AM

Forum Jump: