Disabling the GNOME Nautilus navigation history

Previously I wrote about how to disable your GNOME Recent Documents menu. This post covers a second GNOME history menu: That which is contained at the bottom of your ‘Go’ menu.

The part you see in the image, below the “Clear History” is the navigation history. It contains a list of recently accessed folders, removable devices, and network shares. The one thing to mention about this menu is that it’s session-based. It isn’t written to the hard drive, and when you log off it’s erased. However, if making sure this menu isn’t available at all is your concern, then read on.

You need to make changes to the file /usr/share/nautilus/ui/nautilus-navigation-window-ui.xml — make a backup of it just in case you break something! So now open the file in an editor or run the following:

sudo gedit /usr/share/nautilus/ui/nautilus-navigation-window-ui.xml

Scroll down to around line 47 and you should see the following:

Delete those three lines. Log out and then back in to see your changes. This will make the change effective for all users.

Questions, comments, and feedback on this are welcome and appreciated!


, ,

  1. #1 by jdb on May 8, 2011 - 1:47 pm

    thank for this – it is embarrassing how long this has been bugging me.

    • #2 by Mike on May 8, 2011 - 8:25 pm

      No problem. I’m glad you were able to find it useful.