Linux maintains a complete history of all the search terms entered when using the built-in discovery function, the desktop-based search engine, and even the command-line search functions and other information. The accumulation of these database files can slow down the speed of the system, so it is a good idea to clean these files to maintain maximum performance. On the other hand, removing the search history of databases and other unnecessary files can guarantee your privacy by removing any confidential information or history that may exist in the Linux computer search.
Cleaning Search history from the command line
1 Start the Terminal. This is the symbol of the system for Linux and can usually be found in “Applications”, “Accessories”. Consult the documentation of your distribution if you are unable to locate the terminal.
2 Create a backup of your historical file search by running the following command:
cp ~ / .gconf / apps / gnome-settings / gnome-search-tool / gconf.xml% ~ / .gconf / apps / gnome-settings / gnome-search-tool /% gconf.Bak1.xml
3 Open the search history file in the default text editor to delete all previous searches by running the following command:
gedit ~ / .gconf / apps / gnome-settings / gnome-search-tool /% gconf.xml
4 Edit and delete search history entries that are inside the file. There is no Linux interface to erase the search history, so it is necessary to edit the configuration file in a text editor to delete the search history. Delete all <li> entries found after the following item:
<Entry name = “history-gsearchtool-entry-file”>
5 Save the file. Search history has been deleted.
6 Download and install BleachBit from bleachbit.sourceforge.net/. Thanks to the open source nature of Linux, users can create programs to perform functions that can not be included in the operating system. In this case, there are no system maintenance and cleaning applications built into most Linux operating systems, but an application created in the community called BleachBit has been designed to fill that gap.
7 BleachBit running.
8 Check “Search history” box under the desktop manager submenu (ie, GNOME, KDE, XCFE, etc.).
9 Check any other box to remove other data such as browsing history, recent documents and unnecessary system documents.
10 Click on “Preview”. BleachBit will analyze the data to be withdrawn and present a complete list of the changes that have been committed.