You could set up a new Activity especially for working on those documents and set it to "Do not track usage for this activity". I haven't tested it but it looks promising for you:
And if you want to use a sledgehammer to drive in a nail, make the RecentDocuments directory read-only:Make sure to empty that directory before you do this as you won't be able to delete after.
Some applications will save their history outside the OS history anyway so you may have to deal with them separately.
In LibreOffice for example:
Tools > Options > Advanced > Open Expert Configuration. Type picklist and search button. Change the value of History > PickListSize to 0 (default is 25).
Also you can clear the documents and applications lists by right-clicking on their menu and choose "Forget All Applications" and "Forget All Files"; works in the old style "Application Menu" but not sure about the other menu styles.And if you want to use a sledgehammer to drive in a nail, make the RecentDocuments directory read-only:
Code:
chmod u-w ~/.local/share/RecentDocuments/
Some applications will save their history outside the OS history anyway so you may have to deal with them separately.
In LibreOffice for example:
Tools > Options > Advanced > Open Expert Configuration. Type picklist and search button. Change the value of History > PickListSize to 0 (default is 25).
Statistics: Posted by sunrat — 2024-06-08 08:15