If you are using GNOME 3, have you ever wondered how to clear the history of recently used documents without fiddling around with ~/.local/share/recently-used.xbel file. Ok. Here is the solution for you.I hope that the GNOME guys will provide an easier way for this in the near future.
- Then enter the following imports.gi.Gtk.RecentManager.get_default().purge_items()
- Press Esc to exit from the looking glass console.
Have fun :)