Ask Your Question

How to prevent CrashReport dialog on LibreOffice startup

asked 2017-07-11 11:26:56 +0100

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

We are using LibreOffice to read and print our document using third party printer utility. Some times when Thrid party software tries to open the document using libreOffice then CrashReport dialog comes with message "Unforutnately it seems that LibreOffice crashed when it was last run" and 2 buttons Send Crash Report/Don't Send.

Until we manually login and either click on any of the button and start LibreOffice till that time our program is not able to open any document and all the request wait at the same points.

Do we have any option/settings in LibreOffice to avoid such prompts on startup?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2017-07-11 11:37:03 +0100

Use the --norestore command-line option.

edit flag offensive delete link more


Hi Mike, Thanks for your response.

One thing I would like to add here that when from our application third party DLL requests LibreOffice to open the document, this request code is not in our control. Third party DLL sends request to operating system to open the document in the associated application and operating system opens it. Association of document type is defined in the windows by extension mapping.

I am not sure how to specify command line parameter in such case.

Vaibhav2412 gravatar imageVaibhav2412 ( 2017-07-13 09:43:22 +0100 )edit

I assume you are on Windows.

Changing file associations in registry could help you: e.g. change HKEY_CLASSES_ROOT\LibreOffice.WriterDocument.1\shell\open\command default value from "C:\Program Files\LibreOffice 5\program\swriter.exe" -o "%1" to "C:\Program Files\LibreOffice 5\program\swriter.exe" --norestore -o "%1"

Mike Kaganski gravatar imageMike Kaganski ( 2017-07-13 10:30:15 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-07-11 11:26:56 +0100

Seen: 131 times

Last updated: Jul 11 '17