genXrnPattern binary location/installation?

Hi there,
I wanted to use the PXrd function generation under Crystal/Plot Theoretical …
As I attempted to use it, the binary was missing. I tried to look for the information as to where to place it, but so far I am unsuccessful.
Since I am using Linux I assumed it may need to be located in .local/share/OpenChemistry/Avogadro but that did not seem to work.
Would you mind explaining in the documentation how we could use it?
Thanks.

(System Ubuntu 24.04, version 1.102.1).

It’s looking in the same directory as the main binary. It will also check the GENXRDPATTERN_EXECUTABLE environment variable too.

It should check the whole PATH though:

On the roadmap is to clean this up a bit so other programs can supply an XRD pattern (e.g., a Python plugin using pymatgen)

This pull request should also check PATH for the genXrdPattern binary.