Page 1 of 1

GNOME - Controlling the no. of "last Documents"

Posted: 01 Mar 2011, 16:10
by viking60
In Gnome under "Places" you will find the 10 (or so) last Documents that have been opened/used. There might be many good reasons to remove this list or to reduce or increase the number of "last Documents".
Here is how it is done in Gnome:
:A

Code: Select all

touch ~/.gtkrc-2.0


Making the document yours:

Code: Select all

sudo chown -R <you> .gtkrc-2.0

(If you don't use sudo, use su here)

Edit the file and put in this line to remove all content:

Code: Select all

gtk-recent-files-max-age=0

Or add this line to control the no of lines shown:

Code: Select all

gtk-recent-files-limit=5


As you can see you can adjust "5" to whatever you need.

This will only affect Gnome not OpenOffice