How to remove "Recent Documents" from the "Places" menu

Asked by Dariel Dato-on on 2007-09-28

Hello! Is it possible to remove the "Recent Documents" from the "Places" menu?

Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-panel Edit question
Assignee:
No assignee Edit question
Solved by:
Wrwrwr
Solved:
2007-09-28
Last query:
2007-09-28
Last reply:
2007-09-28
Best Wrwrwr (wrwrwr) said : #1

This is really not implemented: http://bugzilla.gnome.org/show_bug.cgi?id=305325.

But there's a little hack to do that (this will grey out the entry in Places):

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

This will remove the file gnome stores number of uses and create a directory in it's place, so it can't be recreated.
Alternatively you can change ownership, or permissions of this file.

Dariel Dato-on (odd-rationale) said : #2

Thanks Wrwrwr, that solved my question.

rhinokitty (rhinokitty) said : #3

Thanks, really helpful!

hertz (aliencek) said : #4

Thanks, this works perfectly on 8.10.

I think is better to recreate the file instead of a directory...

rm .recently-used.xbel
touch .recently-used.xbel

Hope this helps

And change the file permissions...