Environment variables

EDITOR

Specifies the text editor to use for editing files. If not set, GNU nano is used as fallback.

SCI_AUTHOR

Author name used for different purposes (e.g. measurement operator suggestion, author of protocols). If not set, the user will be prompted to provide an author name.

XRDT_DATABASE

Specifies the path to the measurement database file (CSV). If not set, a default file path is used (~/.local/share/xrd-tools/measurements.csv).

XRDT_DEVICES

Specifies the path to the device file (JSON). If not set, a default file path is used (~/.local/share/xrd-tools/devices.json).

XRDT_LOG_DIR

Specifies the directory where log files are stored. If not set, a default directory in the user’s home directory is used (~/.local/share/xrd-tools/logs).

XRDT_MEASUREMENTS_DIR

Specifies the directory where measurements are stored. If not set, a default directory in the user’s home directory is used (~/XRD_measurements).

XRDT_PRESETS

Specifies the path to the preset file (JSON). If not set, a default file path is used (~/.local/share/xrd-tools/presets.json).

XRDT_TEMPLATE_DIR

Specifies the directory where custom measurement document templates are stored. If not set, a default directory in the user’s home directory is used (~/.local/share/xrd-tools/templates).