Tech Note: Get Rid Of LibreOffice's Annoying File Recovery Failure Message

This bug in OpenOffice / LibreOffice has been with me for years and years. You open a file, you delete it while open, you close LibreOffice -- and then LibreOffice will henceforth tell you eeeevery time you start the program that it tried and failed to recover that file. But I found a bug fix. Thank you "user177723"!

1. Open LibreOffice and create a new file with the same name as the lost one in the same directory. (Which directory this may have been, you have to remember/guess.)

2. Save it.

3. Close LibreOffice completely. (Yes, this is an essential step.)

4. Open the newly created file. Close it.

5. Repeat for every individual file the stupid program moans about on start-up.

More like this

This is a repost of a review that is timely, given this week's focus on setting up your Linux server and changing all your computers over to Linux and so on. I started this discussion a while back, and now it is time to continue it. The Bourne Again Shell, bash, is the default command-line shell…
Okay OpenOffice fans, show me what you can do. Earlier this week, I wrote about my challenges with a bug in Microsoft Excel that only appears on Windows computers. Since I use a Mac, I didn't know about the bug when I wrote the assignment and I only found out about it after all but one of my…
UPDATE (January 2, 2016): The makers of Scrivener have decided to abandon their Linux project. Kudos for them for giving it a try. The Scrivener on Linux users were not many, and almost nobody donated to the project, and as far as I can tell, the project was not OpenSource and thus could not have…
By default, the text-based email client 'alpine' requests a password the first time, per session, that it is requested a password from any email services it checks. For the duration of that session, it remembers the password, but forgets it if you quit alpine so you have to enter it again later.…

This is the computer world equivalent to shoveling sand under the wheels to give you traction when you're stuck in ice/snow!
I love these kinds of fixes.

I never had the bug, but the offending file reference is certainly kept in a Preferences file in /library/preferences
a file named
org.libreoffice.script.LSSharedFileList.plist
either edit that file with the Property Editor, or, more simply, delete it, and you'll get rid of the annoyance.
You'll have to do that every time you happen to delete an "open" file, or remove an USB key at the wrong time, I suppose.

OK, I made some tests.
1. the bug is not severe for me, if I Cancel the recovery, LibreOffice never ask again.
The Plist file I gave you does not contain the recovery information.
The recovery information is in:
/Library/Application Support/LibreOffice/4/user/registrymodifications.xcu
It's a long XML file, edit it with Dash or similar,
The offending lines are:

false
false
0writer8com.sun.star.text.TextDocumentfile:///Users/Arthur/Desktop/Test5.odtTest5.odt

Delete these 3 lines, save the file, and LibreOffice should forget about the crash.

Sorry, the XML code didn't make it, delete the 3 line with
(item oor:path="/org.openoffice.Office.Recovery/RecoveryList")
between angled brackets; the 3rd line contains the name of the file to recover.