This simple tutorial shows how to disable (or auto-delete) “recent” files tab in left side-bar of file manager in Ubuntu 24.04 & 22.04.
GNOME Files, aka Nautilus file manager, has a “Recent” tab in left side-bar, which include all the recent opened photos, videos, and documents.
It’s useful for user or applications to quickly re-open recent edited files. However, when working at a public place, it can be better to disable this feature since it may contain sensitive data.