Ask Your Question

Why doesn't CLI work when GUI is loaded? [closed]

asked 2012-02-29 19:29:57 +0200

anonymous user


CLI command 'libreoffice --convert-to pdf untitled.odt' only works when no other instance of LO is running. Is there a way to run LO from CLI with more than one instance present?

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by qubit
close date 2013-01-20 21:44:11.506632


This is either a duplicate of, or at least answered by, How to NOT connect to a running instance, which also includes a workaround solution.

hunteke gravatar imagehunteke ( 2012-07-14 08:07:50 +0200 )edit

2 Answers

Sort by » oldest newest most voted

answered 2012-03-02 03:27:01 +0200

Björgvin gravatar image

this looks like a bug to me

edit flag offensive delete link more


you can register it here:

Björgvin gravatar imageBjörgvin ( 2012-03-02 03:28:10 +0200 )edit
jt gravatar imagejt ( 2012-03-02 13:40:56 +0200 )edit

answered 2012-05-21 15:30:44 +0200

dag gravatar image

Yes, it is a bug. What you can use instead is unoconv, which communicates with LibreOffice for doing bulk conversions. It also allows to instruct the import and export filters (e.g. to select specific pages to export to PDF, or import files in Unicode) and can iterate over files in a directory so it offers far more flexibility for bulk conversions.

Unoconv works on Linux, MacOS X, FreeBSD and Windows.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2012-02-29 19:29:57 +0200

Seen: 288 times

Last updated: May 21 '12