Ubuntu – How to clear recently used files without using a terminal filesgui How can I clear the recently used and viewed files without using terminal? Best Answer The only way I know how to do this is to install Ubuntu Tweak, which can be found by going to http://ubuntu-tweak.com/ and installing the software. Open Ubuntu Tweak up and go to Gnome Settings then uncheck Enable System Wide "Recent Documents" List Related SolutionsHow to Clear Text in a File Using Command Line Just open your terminal with CTRL+ALT+Tand type as > hello.txt that's it, your data in that file will be cleared with out opening it even . Example: Ubuntu – Locate Files and Directories ‘Recently Used’ The Recently Used information is stored in a file called recently-used.xbel located under the .local/share directory per user, the full path being: ~/.local/share/recently-used.xbel It contains metadata on the recent files, like what is the application that opened it, or the application that should display it in its history. For example, my gedit shows 3 files: If I search for gedit in the file, I can surely see 3 "stanzas" because there are 3 files, here's one of them as a sample: <bookmark href="file:///path/to/dsasd" added="2014-07-26T19:22:24Z" modified="2014-07-26T21:52:22Z" visited="2014-07-26T19:22:25Z"> <info> <metadata owner="http://freedesktop.org"> <mime:mime-type type="text/plain"/> <bookmark:groups> <bookmark:group>gedit</bookmark:group> </bookmark:groups> <bookmark:applications> <bookmark:application name="gedit" exec="'gedit %u'" modified="2014-07-26T21:52:22Z" count="7"/> </bookmark:applications> </metadata> </info> The recently-used.xbel file is part of the GTK+ toolkit. I tried looking for some documentation on it, but this is the closest I can get: GtkRecentManager - gnu.org GTK+ 3 Reference Manual: GtkRecentManager GNOME uses the GTK+ library, while KDE uses the QT library, I assume that's why it doesn't work with KDE. As for wine, I don't know, maybe it's just not designed to work with it. Related QuestionHow to Clear Text in a File Using Command LineUbuntu – Locate Files and Directories ‘Recently Used’Ubuntu – Rename the most recently used fileAccess Recently Used Files – Is There an Indicator to Quickly Access Recently Used Files
Best Answer
The only way I know how to do this is to install Ubuntu Tweak, which can be found by going to http://ubuntu-tweak.com/ and installing the software.
Open Ubuntu Tweak up and go to Gnome Settings then uncheck Enable System Wide "Recent Documents" List