Prevent Recent Documents from displaying recent documents
ARCHAN> How do i make history not stored ? i dont want places > recent doc to store my recent files
Gnome doesn’t offer an option to turn off the tracking of recently open documents, but you can employ a simple hack to prevent it from happening. Your Places > Recent Documents menu listing pulls data from ~/.recently-used.xbel which stores your recent document’s meta data. It’ll be recreated if you just delete it. Rather, remove it and make a directory with that same name.
rm ~/.recently-used.xbel && mkdir ~/.recently-used.xbel
You can also use this same trick to eliminate your bash history at the command line. Every command you issue at the command line is saved to ~/.bash_history after you close or exit a bash session. Just replace the file with a directory of the same name.
rm ~/.bash_history && mkdir ~/.bash_history
If you ever need or want to use those features again, just remove the directories. The files will be recreated on their own as needed.
rm -r ~/.recently-used.xbel
rm -r ~/.bash_history
Above, I showed how to do it with command lines but you can do the same through a nautilus window (file browser). At your home directory, use CTRL-H to toggle between hiding and showing hidden files (the ones that start with a period) so that you can find the files and delete/create as necessary.



October 12th, 2010 at 2:14 am
Didn’t work for me. Still shows all the file histories in 10.10 netbook in the new interface. re-created file recently-used.xbel as a folder with the same name in /home/username/, but no joy.