How do I delete totem's history?

How do I delete totem's history displayed in it's main menu in Natty? For example if I don't want anyone to know I'm watching... ehem Simpsons a lot?

I've tried How can I keep recent files from appearing in Unity? but this doesnt work for Totem.


Recent Document history for many Gnome 2 based applications are held in a file in your home folder called .local/share/recently-used.xbel

Either use the Launcher "Home Folder" - select the menu option "View - Show Hidden Files" and navigate to the .local/share folder and delete the file "recently-used.xbel"

Alternatively from the command line

rm ~/.local/share/recently-used.xbel

If you really want to stop recent document history from showing up for your login account then create a file with your favourite Text Editor called .gtkrc-2.0 and save this file in your home folder.

Alternatively from the command line

gedit ~/.gtkrc-2.0

In that file, include on a separate line

gtk-recent-files-max-age = 0 

If you want to permanently remove the recent file list from totem, edit /usr/share/totem/totem.ui as root and change to following line:

<separator name="recent-separator"/>
<placeholder name="recent-placeholder"/>

into

<!--<separator name="recent-separator"/>
<placeholder name="recent-placeholder"/>-->

If you want to reactive history later, all you have to do is remove the part that you added.


In Unity: go to "Dash Home", search for "System Settings" and then choose "Privacy" -> "Recent Items". Change the time interval and press "Delete history". With the button on the bottom you can turn off recording of your activity at all, however many programs will ignore it.


Well, that will delete the Zeitgeist history (including Dash) but oddly not the history in Totems main menu. Seems like Totem is saving some kind of own history.

So this is not a duplicate of "How can I keep recent files from appearing in Unity?".