Ask Your Question

Where is "Recent Documents" list stored? [closed]

asked 2017-06-02 03:07:34 +0200

Smoke gravatar image

I want to be able to clear the "Recent Documents" list. Windows stores links under AppData / Application Data that I can automatically delete with a .bat file. I'd like to add the location / file for LibreOffice so I can clear it monthly. I've found how to remove the toolbar icon, change the number of files shown, etc. but that doesn't delete the stored information, just hides it.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Smoke
close date 2017-06-03 08:31:25.931425

1 Answer

Sort by » oldest newest most voted

answered 2017-06-02 09:05:39 +0200

It is stored in registrymodifications.xcu, as

<item oor:path="/org.openoffice.Office.Histories/Histories/org.openoffice.Office.Histories:HistoryInfo['PickList']/ItemList">


<item oor:path="/org.openoffice.Office.Histories/Histories/org.openoffice.Office.Histories:HistoryInfo['PickList']/OrderList">

Just a note: you not only can hide the list, but also limit the number of items stored, including zero, using PickListSize. Setting it to zero prevents any new items to be added to the file, although you might need to manually clear already stored items.

edit flag offensive delete link more


Thanks Mike, that helped. Deleted both 'items' from the file and the file shrank from >1K to 331K. Took a while to find "PickListSize" though... set it to 0. I'll keep an eye on the registrymodifications.xcu file.

Smoke gravatar imageSmoke ( 2017-06-02 18:07:09 +0200 )edit

@Mike Kaganski: I know it's bad style to add to a closed thread. Nonetheless (mea culpa): Is there also a uno service providing access to a 'RecentFileList' from user code?
Might help to solve .

Lupp gravatar imageLupp ( 2017-10-25 13:18:38 +0200 )edit

Definitely there must be: I remember to see some extension that managed the recent file list; I believe it did that using UNO, not by direct manipulations with registrymodifications :)

Mike Kaganski gravatar imageMike Kaganski ( 2017-10-25 13:40:40 +0200 )edit

Question Tools

1 follower


Asked: 2017-06-02 03:07:34 +0200

Seen: 2,145 times

Last updated: Jun 02 '17