[Gimp-user] How can you make files open in one instance of gimp?

2011-04-10 Thread Rob Frohne

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

--
Rob Frohne, Ph.D., P.E.
E.F. Cross School of Engineering
Walla Walla University
100 SW 4th Street
College Place, WA 99324
(509) 527-2075   http://people.wallawalla.edu/~rob.frohne

attachment: rob_frohne.vcf___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] How can you make files open in one instance of gimp?

2011-04-10 Thread Ofnuts

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


___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] How can you make files open in one instance of gimp?

2011-04-10 Thread Sophoklis Goumas
On Sun, Apr 10, 2011 at 21:09, Rob Frohne rob.fro...@wallawalla.edu 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
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user