Pergunte aqui

Perfil de Kurt Pfeifle - atividade

2016-08-30 23:36:56 +0200 Medalha recebida  Professor (fonte)
2016-08-30 23:36:56 +0200 Medalha recebida  Pajé (fonte)
2014-02-11 23:25:32 +0200 Resposta comentada How can I use soffice from the command line when Quickstarter is running?

@qbit: You can be sure now. It IS possible to run multiple instances of LibreOffice, as long as you add a uniq -env:UserInstallation=file:///some/dir/xyz commandline parameter when starting each instance.

2014-02-11 23:23:19 +0200 Respondeu uma pergunta How can I use soffice from the command line when Quickstarter is running?

To start more than one instance of LibreOffice, you need to assign each instance its own environment. For this, use -env:UserInstallation=file:///path/to/directory.

In order to convert an ODS spreadsheet file on the commandline (on a Mac) while a GUI instance of LO is running, I use this command:

 /Applications/LibreOffice.app/Contents/MacOS/soffice           \
   "-env:UserInstallation=file:///tmp/LibO_Conversion__${USER}" \
   --headless                                                   \
   --convert-to pdf:calc_pdf_Export                             \
   --outdir $(pwd)/lo                                           \
     $(pwd)/lh-dummy.ods

After completing the command, you may delete /tmp/LibO_Conversion__${USER} again.