pwshub.com

How to Disable the ‘Recent’ Files Section in Nautilus

There’s one feature in the Nautilus file manager I use daily: the Recent files shortcut. One-click gives me access to my most recently downloaded, modified, and newly created files together, regardless of the folder they’re in.

I find it dead handy – but I can accept that it’s dead revealing too.

Which is why not everyone likes this functionality. While individual files can be hidden from view manually1, that’s effort. Sensitive documents, secret projects, risqué media with revealing thumbnails (you know I mean2) can easily, if accidentally appear on screen.

Others simply don’t use the feature and would prefer the remove the bookmark so it’s not taking 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.

Disabling file history hides the ‘recent folder’ in Nautilus

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:

  1. Open the Settings app
  2. Select Privacy & Security in the Settings app sidebar
  3. In the main view, select File History & Trash
  4. 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.

  1. Worth noting: you can right-click on any file in the Recent ‘folder’ and select the ‘Remove from recents’ option to hide it from view. ↩︎
  2. Leaked Spice Girls demos, obviously. ↩︎

Source: omgubuntu.co.uk

Related stories
1 month ago - Get a sneak peek at the upcoming features in Python 3.13 aimed at enhancing performance. In this tutorial, you'll make a custom Python build with Docker to enable free threading and an experimental JIT compiler. Along the way, you'll...
3 weeks ago - Learn about the new features of LibreOffice 24.8 which brings considerable update across its base modules. The document foundation released the final release of 2024, i.e. LibreOffice 24.8 a few weeks back. This release brings the usual...
2 weeks ago - In this tutorial, you'll learn about the new features in Python 3.13. You'll take a tour of the new REPL and error messages and see how you can try out the experimental free threading and JIT versions of Python 3.13 yourself.
2 weeks ago - Building cross-browser web applications can be a difficult task, as many browsers offer few debugging tools that often vary between them. Fortunately, today most browsers support modern standards and provide helpful features for...
2 weeks ago - Building full-stack apps can be tough. You have to think about frontend, APIs, databases, auth – plus you have to know how all of these things work together. And building a project like a video conferencing app from scratch can feel even...
Other stories
1 hour ago - Twilio posts cloud communications trends, customer stories, and tips for building scalable voice and SMS applications with Twilio's APIs.
1 hour ago - Learn how Single Sign-On (SSO) can streamline access, improve security, and reduce IT headaches for your business.
2 hours ago - Introducing Serhii — an exceptional creative digital designer whose concepts and visual techniques evoke both tears and admiration from developers.
2 hours ago - Influencing others isn’t about manipulation or getting your way at all costs. It’s about understanding people, building connections, and guiding conversations in a way that benefits everyone involved. Whether you’re at work, talking with...
2 hours ago - The internet has come a long way since its humble beginnings, from a small network meant to share research to a global phenomenon that shapes the way we live, work, and play. Along the way, certain websites have left an indelible mark on...