Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
add comment

1 Answer

up vote 3 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
add comment

Your Answer

 
discard

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.