Different way to search for files in Gnome
Searching for files is one of the most frequently performed task that most of the user does. In Gnome, it can be done by any of the following four ways.
It's more natural to use the file manager to search for files instead of using an external app, that's why i decided to starting with nautilus first. Nautilus do have a built in search functionality that works by using tracker as backend. But most of the user complains that the nautilus does not shows any search result most of the cases. This is because,
By default, tracker index recursively the user's document, pictures, videos, Desktop, Music, Downloads directories and non recursively on user's home directory.
We can add new folders which needed to be index by using tracker-preference. To start it, press Alt + F2, then type tracker-preference and press enter key. In Index preference dialog box (which gets opens), select the locations tab. There you can add directories which need to be index.
Once all directory is indexed, nautilus search will work as it expected to be.(But still search is case sensitive, which makes it not good enough)
Tracker is official front-end for tracker( the backend used by nautilus search). It is also not installed by default in major Linux distributions.
To install it in openSUSE, type the following command in gnome-terminal.
Zeitgiest indexes the files accessed by the user, instead of indexing all the file in the system. Concept of this is that, the user will search for files which he recent created ( or modified or downloaded ). Thus it work great always, since we done need to tell which folders need to indexed, it just works. To install zeitgiest in openSUSE, type the following command in gnome-terminal.
- Using Nautilus Search
- Using gnome-search-tool
- Using Tracker Desktop Search
- Using zeitgeist
Using Nautilus for searching.
It's more natural to use the file manager to search for files instead of using an external app, that's why i decided to starting with nautilus first. Nautilus do have a built in search functionality that works by using tracker as backend. But most of the user complains that the nautilus does not shows any search result most of the cases. This is because,
- search is case sensitive, and
- search is done only in directives which are indexed by the tracker.
By default, tracker index recursively the user's document, pictures, videos, Desktop, Music, Downloads directories and non recursively on user's home directory.We can add new folders which needed to be index by using tracker-preference. To start it, press Alt + F2, then type tracker-preference and press enter key. In Index preference dialog box (which gets opens), select the locations tab. There you can add directories which need to be index.
Once all directory is indexed, nautilus search will work as it expected to be.(But still search is case sensitive, which makes it not good enough)
Using gnome-search-tool
In many cases we might want to search for files which are not indexed. For such situations we need a search tool which which search for files in a traditional way (without indexing). It will be slower but will definitely find the file you are searching for. But this tool is not installed by default in most latest and popular Linux distributions. In opensuse, you can install it by typing the following the command in gnome-terminal.sudo zypper install gnome-search-tool
For Other distributions, try Google to find how to install the gnome-search-tool.Using Tracker Desktop Search
To install it in openSUSE, type the following command in gnome-terminal.
sudo zypper install tracker-gui
For Other distributions, try Google to find how to install the tracker-gui.Using zeitgiest
Zeitgiest indexes the files accessed by the user, instead of indexing all the file in the system. Concept of this is that, the user will search for files which he recent created ( or modified or downloaded ). Thus it work great always, since we done need to tell which folders need to indexed, it just works. To install zeitgiest in openSUSE, type the following command in gnome-terminal.
Comments
Post a Comment