GNOME - Controlling the no. of "last Documents"

Every day solutions to every day challenges. + Brilliant stuff

Moderators: b1o, jkerr82508

Forum rules
Please feel free to post your tip it does not have to be advanced. Also ask questions directly related to the tip here. But do not start new threads with questions or ask for help here. That is what the help section is for. forum rules: http://bjoernvold.com/forum/viewtopic.php?f=8&t=568
User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

GNOME - Controlling the no. of "last Documents"

Postby viking60 » 01 Mar 2011, 16:10

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
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

Return to “Tips & Tricks”