Login  Register

Re: Ubuntu - Run single instance listener

Posted by Ghislain BUGNICOURT-2 on Apr 28, 2011; 12:55pm
URL: http://imagej.273.s1.nabble.com/Ubuntu-Run-single-instance-listener-tp3684690p3684694.html

Le 28/04/2011 14:20, Johannes Schindelin a écrit :

> Hi,
>
> On Thu, 28 Apr 2011, Ghislain Bugnicourt wrote:
>
>>   - I'm not sure about the command to use in a terminal, if I want to
>>     mimic what happens when I select two images and press enter. Is it
>>     {imagej -p 1 ./image1.tif&  imagej -p 1 ./image2.tif&} ?
> If you add -debug to the -p 1, then you turn on the debug mode. But make
> sure that the executable "imagej" really picks up on your recompiled
> ij.jar instead of starting the old one.
>
>> When I check the debug option and then close-reopen ImageJ, the debug
>> mode is lost. Normal ?
> Yes. The debug mode is very verbose. You do not want to switch it on all
> the time.
>
> Ciao,
> Johannes
>

Thanks Johannes, but I still don't find the way to use the -debug option :
{imagej -debug} tells me the 'd' option isn't allowed and lists other
possible options :

    imagej [options] image [ image2 ... image3 ]
         -h        print help and more options
         -o        open images in an open ImageJ panel
         -p <N>    open images in ImageJ panel number <N>
         -x <MB>   set available memory (default=1500 max=)

I replaced ij.jar by the recompiled one, at least I had no problem with
that. ;)
Ghislain