We will be migrating from Ask to Discourse on the first week of August, read the details here

Ask Your Question

How to use LibreOffice with --headless option?

asked 2018-02-25 00:08:23 +0200

dueppelhelge gravatar image

updated 2020-11-01 15:36:24 +0200

Alex Kemp gravatar image

If I try to execute /Applications/LibreOffice.app/Contents/MacOS/soffice --headless ... by a user not logged in, e.g. _lp, the program exits with the message No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting

What to do?

edit retag flag offensive close merge delete


Don't have Mac and I don't use LO in headless mode, but maybe this could point you in right direction: How do I run LibreOffice --headles on Mac [...]?

Kruno gravatar imageKruno ( 2018-02-25 14:47:55 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2021-02-12 00:25:40 +0200

_edEr gravatar image

Hi, I know that this question is kind of old but still without a solution here.

Short: I just created a shell file with:

exec /Applications/LibreOffice.app/Contents/MacOS/soffice "$@"

You can check the same problem with a complete answer here

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-02-25 00:08:23 +0200

Seen: 751 times

Last updated: Feb 12