Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I click on the Clear recent documents item in the GNOME menu, it clears the list of recently used documents (as expected). How can I replicate this functionality from the command line?

share|improve this question
up vote 4 down vote accepted

In Ubuntu Gnome, the recent documents are stored in ~/.recently-used.xbel. You can rm that file, but Gnome Panel will still show the list. There's got to be a better way to get the panel to refresh but killall gnome-panel will work.

rm ~/.recently-used.xbel
killall gnome-panel
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.