Ubuntu 7.04 - Disable Recent Documents

There is not an obvious way to disable the Recent Documents menu under the Places menu if you don’t want to use that feature. Here is how I do it:

Open a terminal window and execute these two commands:

$ rm ~/.recently-used.xbel
$ mkdir ~/.recently-used.xbel

Replacing that file with a directory seems to be the only way to keep it from being populated.

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

Thanks!@

Thanks, was searching a lot for this.

IT works.

Another way is to soft link to /dev/null. This works in more cases, for example when the program expects to be able to write to the file. Try:

rm ~/.recently-used.xbel
ln -s /dev/null ~/.recently-used.xbel

> ln -s /dev/null ~/.recently-used.xbel

Nope, does not work on 7.10, link gets replaced with a regular file as soon as some document is opened.

Leave a comment

(required)

(required)