Ubuntu - Run single instance listener

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Ubuntu - Run single instance listener

Ghislain BUGNICOURT-2
Dear all,

On Ubuntu 10.10, the "run single instance listener" option doesn't seem
to work (I checked it and restarted of course).
Actually, when clicking the imagej launcher or even an image, a new
imagej window opens even if another is already open.
How can I avoid this behavior ?
Thank you !
Ghislain

Version : Imagej 1.44c-2 from the official depositories of Ubuntu.
Reply | Threaded
Open this post in threaded view
|

Re: Ubuntu - Run single instance listener

Rasband, Wayne (NIH/NIMH) [E]
On Apr 8, 2011, at 6:22 AM, Ghislain Bugnicourt wrote:

> Dear all,
>
> On Ubuntu 10.10, the "run single instance listener" option doesn't seem
> to work (I checked it and restarted of course).
> Actually, when clicking the imagej launcher or even an image, a new
> imagej window opens even if another is already open.
> How can I avoid this behavior ?

Use the Help>Update ImageJ command to upgrade to the current version of ImageJ (1.45e).

-wayne

> Thank you !
> Ghislain
>
> Version : Imagej 1.44c-2 from the official depositories of Ubuntu.
Reply | Threaded
Open this post in threaded view
|

Re: Ubuntu - Run single instance listener

Ghislain BUGNICOURT-2
Thank you Wayne, I should have looked at the "ImageJ news" page before
asking.
The instance listener works when ImageJ is already open. Nevertheless,
multiple instances of ImageJ are still launched when i try to open
several images at the same time (while ImageJ isn't open yet).
Normal or strange behavior ?

Regards
Ghislain


Le 08/04/2011 16:45, Rasband, Wayne (NIH/NIMH) [E] a écrit :

> On Apr 8, 2011, at 6:22 AM, Ghislain Bugnicourt wrote:
>
>> Dear all,
>>
>> On Ubuntu 10.10, the "run single instance listener" option doesn't seem
>> to work (I checked it and restarted of course).
>> Actually, when clicking the imagej launcher or even an image, a new
>> imagej window opens even if another is already open.
>> How can I avoid this behavior ?
> Use the Help>Update ImageJ command to upgrade to the current version of ImageJ (1.45e).
>
> -wayne
>
>> Thank you !
>> Ghislain
>>
>> Version : Imagej 1.44c-2 from the official depositories of Ubuntu.
Reply | Threaded
Open this post in threaded view
|

Re: Ubuntu - Run single instance listener

dscho
Hi Ghislain,

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

On Mon, 11 Apr 2011, Ghislain Bugnicourt wrote:

> Thank you Wayne, I should have looked at the "ImageJ news" page before asking.
> The instance listener works when ImageJ is already open. Nevertheless,
> multiple instances of ImageJ are still launched when i try to open several
> images at the same time (while ImageJ isn't open yet).
> Normal or strange behavior ?

Expected. Java needs to start up, then ImageJ, and only then can the
single-instance listener start up. Before that, the other ImageJ instances
have no chance to realize that there is another instance running.

Work-around: start one instance of ImageJ early.

Hth,
Johannes