How to change LibreOffice settings without GUI

default settingsheadlesslibreoffice

Is there a way to change Libre Office settings through command line or some configuration file?

We would want to change the measurement units from imperial to metric while converting to HTML in headless mode on a remote VPS.

Using LibreOffice 4.2.6.3 on Ubuntu 14.04

Best Answer

If it is possible to use a template file then you can create one with the required parameters and then use it with the "-n" option of the libreoffice command to get what you need.

And as for the configuration files of Libre Office the details of it can be found here.

You can take a look at this post if you want to edit the configuration file to do what you are trying to do.

Related Question