Archive for September, 2009

Remove Recent Documents in Ubuntu

Something I always find myself looking for when I setup a new installation of Ubuntu (really it’s a problem with Gnome) is how to turn off the recent documents list.  There are two ways to do this.Tux

1)  Open a terminal (hit alt-f2 and type gnome-terminal) and input the following two commands

sudo rm .recently-used.xbel
sudo mkdir .recently-used.xbel

This will remove the file gnome stores the recently used document list and create a directory in it’s place, so it can’t be recreated.

2)  Another and probably preferable option is to again open a terminal and type the following:

gksudo gedit ~/.gtkrc-2.0

this will open the gedit document editor so you can add something to the gtkrc-2.0 file.  Now add the line:

gtk-recent-files-max-age=0

Now you just need to save the document, exit and you are done.

Comments off