Ask Your Question

Revision history [back]

Currently there's no way to pass these parameters through the command line. What could be done, however (if you have a finite number of possible configurations), is creating required variants of registrymodifications.xcu, and in script, copy the required file (or the whole profile, to avoid recreating profile at start) to a temporary directory, and run LibreOffice specifying the temp directory as user profile using the following parameter:

-env:UserInstallation=file:///path/to/temp-dir