View Issue Details

IDProjectCategoryView StatusLast Update
0006620ardourbugspublic2020-04-19 20:17
Reporterrockhopper Assigned Tox42  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Summary0006620: Multiple instances of Ardour when launched by NSM
DescriptionWhen Ardour 4.2 is launched by NSM, Ardour is listed twice in the NSM dialog.

When the session is reopened, 2 instances of Ardour are launched and Ardour is listed 3 times in the NSM dialog.

When the session is opened again, 3 instances of Ardour are launched and Ardour is listed 4 times in the NSM dialog.
TagsNo tags attached.

Activities

2015-10-04 09:55

 

screenshots.png (127,628 bytes)   
screenshots.png (127,628 bytes)   

x42

2015-10-04 12:51

administrator   ~0017414

"Ardour" vs "Ardour4"

Looks like the name/id does not match. (e.g Ardour starts as "ardour" but announces itself as "Ardour4")

Is that Ardour from ardour.org or from some distribution?

Some distros rename the binary. We've introduced an environment variable ARDOUR_SELF
(see the ardour startup script) with the hope to address this. Known variants include "ardour", "ardour4", "Ardour" and "Ardour4".

Do you have means to investigate this issue?

If so, could you try to edit the startup script (/usr/local/bin/Ardour or /usr/bin/ardour,.. ) and change the export ARDOUR_SELF="$0" line to

   export ARDOUR_SELF="`basename $0`"

or even

    export ARDOUR_SELF="Ardour4"
(or whatever the command is on your system)


Alternatively symlink the startup script e.g. sudo ln -s /usr/bin/ardour /usr/local/bin/Ardour4 and start it as "Ardour4" the first time.

rockhopper

2015-10-04 16:57

reporter   ~0017415

Thanks for the quick response! I'm using an official binary downloaded from ardour.org.

  export ARDOUR_SELF="`basename $0`"
  export ARDOUR_SELF="Ardour4"

Both work perfectly. Many thanks!

x42

2015-10-04 19:17

administrator   ~0017416

fixed in Ardour 4.2-543-gbfd025a (using `basename "$0"`)

system

2020-04-19 20:17

developer   ~0023541

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2015-10-04 09:55 rockhopper New Issue
2015-10-04 09:55 rockhopper File Added: screenshots.png
2015-10-04 12:51 x42 Note Added: 0017414
2015-10-04 16:57 rockhopper Note Added: 0017415
2015-10-04 19:17 x42 Note Added: 0017416
2015-10-04 19:17 x42 Status new => resolved
2015-10-04 19:17 x42 Resolution open => fixed
2015-10-04 19:17 x42 Assigned To => x42
2020-04-19 20:17 system Note Added: 0023541
2020-04-19 20:17 system Status resolved => closed