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.- Open the GNOME shell's integrated inspector tool and JavaScript console called Looking Glass by typing the command lg in the prompt invoked by Alt+F2
- Then enter the following imports.gi.Gtk.RecentManager.get_default().purge_items()
- Press Esc to exit from the looking glass console.
Have fun :)
No comments:
Post a Comment