RSS/Atom feed Twitter
Site is read-only, email is disabled

How can you make files open in one instance of gimp?

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

3 of 3 messages available
Toggle history

Please log in to manage your subscriptions.

How can you make files open in one instance of gimp? Rob Frohne 10 Apr 18:09
  How can you make files open in one instance of gimp? Ofnuts 10 Apr 22:17
  How can you make files open in one instance of gimp? Sophoklis Goumas 11 Apr 05:37
Rob Frohne
2011-04-10 18:09:28 UTC (almost 14 years ago)

How can you make files open in one instance of gimp?

Hi All,

I'm trying to streamline a daily activity processing photos with Gimp by using incrontab (which makes it when you add files to a directory, it will automatically run a program to deal with the event). I have a python-fu script that I need to run after selecting four corners of what will be new photos. It will run itself on all images open in gimp which reduces my keystrokes or mouse clicks. The problem I'm having is that when I put four photos into the processing directory, incron opens four instances of gimp instead of opening gimp once and adding each photo to its open images. I'm using Ubuntu Linux. Are there any ideas out there on how to get around this problem cleanly? I'd really like to make the same instance of gimp open the photos, but I'm not sure how to do that.

Thanks,

Rob

Ofnuts
2011-04-10 22:17:31 UTC (almost 14 years ago)

How can you make files open in one instance of gimp?

On 04/10/2011 08:09 PM, Rob Frohne wrote:

Hi All,

I'm trying to streamline a daily activity processing photos with Gimp by using incrontab (which makes it when you add files to a directory, it will automatically run a program to deal with the event). I have a python-fu script that I need to run after selecting four corners of what will be new photos. It will run itself on all images open in gimp which reduces my keystrokes or mouse clicks. The problem I'm having is that when I put four photos into the processing directory, incron opens four instances of gimp instead of opening gimp once and adding each photo to its open images. I'm using Ubuntu Linux. Are there any ideas out there on how to get around this problem cleanly? I'd really like to make the same instance of gimp open the photos, but I'm not sure how to do that.

Thanks,

Given that Gimp takes '-n' argument to force the use of a new instance, I'd think that the behavior you see isn't normal. Perhaps the foiur Gimp calls are made too fast for Gimp to set up the first instance fully. I would call Gimp from a script that does some random wait (doesn't need to be very long) before calling it...

Sophoklis Goumas
2011-04-11 05:37:25 UTC (almost 14 years ago)

How can you make files open in one instance of gimp?

On Sun, Apr 10, 2011 at 21:09, Rob Frohne wrote:

...
I'd really like to make the same instance of gimp open the photos, but I'm not sure how to do that.

This:
% gimp file1 file2
will open both files in the same Gimp window.

While this: % gimp file1 & gimp file2 &
will open each file to a seperate Gimp window.

Sophoklis