Prevent files from specific paths to appear in "Recent"
Use cases
Currently, all the files are in showing "Recent", and there is no way to prevent only some files from showing up.
Desired behavior
There should be a way to disable files from appearing in "Recent" when they are located in specific folders. This could be achieved by placing a .ignorerecent
file inside desired folders, adding the filepaths from the GNOME settings, or via gsettings.
Benefits of the solution
This would prevent clutter in "Recent" (recent music files, files located in the Downloads folder, etc.), and avoid private files from showing up (confidential documents, pictures. etc.).