Not everyone find this file-tracking feature useful
How to Disable the ‘Recent’ Files Section in Nautilus
by by Joey Sneddon · omg! ubuntu · JoinThere’s one feature in the Nautilus file manager I use daily: the Recent files shortcut. One-click brings up a pseudo-folder showing all of my recently downloaded, modified, and newly created files, regardless of which folders they’re in.
I find this grouping dead handy – but I accept it’s also dead revealing too.
Which is why not everyone likes this feature. Individual files can be hidden from view manually1, but that’s effort.
Since ‘Recent’ is pinned at the top of the sidebar, it’s easy to accidentally click it.
Not an issue for most of us at home, but for those in workplaces, public spaces, or lounging on the sofa with family around, it may mean sensitive documents, secret projects, or risqué media with revealing thumbnails (you know I mean2) appear on screen.
Paranoia over personal proclivities and professional privacy concerns aren’t the only reason to remove it: some people just don’t use it, and would prefer to free up space at the top of the sidebar, which is fair.
It is easy to disable the Recent files entry in Nautilus, although there’s no option to do so present in the Nautilus preferences panel, which is where most people go to look.
Instead, the way to disable recent files in Ubuntu (and other GNOME-based Linux distributions) is through the privacy section in the Settings app, like so:
- Open the Settings app
- Select Privacy & Security in the Settings app sidebar
- In the main view, select File History & Trash
- Slide the toggle to turn off ‘File History’
With File History turned off, the sidebar in Nautilus file manager no longer shows a ‘Recent’ entry.
Note: turning this off doesn’t prevent files from being indexed, searched for, or surfaced through other means – there are other ways to control those.
And it’s worth being aware that disabling recent files in the privacy panel will affect all apps that are able to plug in to and fetch a list of recent files, i.e., not just Nautilus.
Those who prefer to use the command line to accomplish things can do it in one command:
gsettings set org.gnome.desktop.privacy remember-recent-files false
The command hides the “Recent” sidebar entry from Nautilus file manager (next time it is quit completely).
To later re-enable the “Recent” sidebar entry the command should be run again, this time without ‘false’ at the end, like so:
gsettings reset org.gnome.desktop.privacy remember-recent-files
And that’s all there is to it.