ContentsBRTableOfContents(3) |
MetaTracker is a powerful desktop-neutral first class object database, tag/metadata database, search tool and indexer. Tracker is also extremely fast and super efficient with your system's memory compared to other competing frameworks. It consists of a common object database that allows entities to have an almost infinite number of properties, metadata, a comprehensive database of keywords/tags and links to other entities. It has the ability to index, store, and harvest metadata, as well as retrieve and search for files and other first class objects.
In layman's terms, MetaTracker (commonly referred to as Tracker) is a desktop search application which allows you to quickly search your documents, photos, music, and other files. The advantage of Tracker over the default search feature in Ubuntu (Nautilus -> Search for files...) is that results are returned much more quickly and all of the metadata (such as title, artist, track, album, composer, date, etc.) of the file is included in the search. Tracker also very small and efficient, consuming only abou 6 MB of RAM when indexing, and ~3 MB when idle.
See the [http://www.gnome.org/~jamiemcc/tracker/ Tracker project homepage] for more information.
Installing MetaTracker
Tracker is not included in Ubuntu, so you must install it manually from a 3rd party deb package.
Ubuntu 6.06 LTS (Dapper Drake)
Download the Tracker deb: [http://www.gnome.org/~jamiemcc/tracker/DEB/tracker_0.5.0_i386.deb tracker_0.5.0_i386.deb]
- Open with Gdebi and install the package. After the package is installed close gdebi.
Click "System" -> "Preferences" -> "Sessions"
- Click the startup programs tab
- Click the add button and type "trackerd" as the name of the program.
- Press Alt+F2 and enter "trackerd" in order to start the tracker indexer
Tracker is now installed and indexing your home directory!
You can check on its progress by typing the following at a terminal:
tail -f ~/.Tracker/tracker.log
This will give you a real-time status of what it's doing.
The first time you run trackerd, it will take a little while to index all of your files (the more files you have, the longer you'll have to wait.) To see if it's done, open the "System Monitor" ("System" -> "Administration" -> "System Monitor") and look for the "trackerd" process on the "Processes" tab. When its status is "Sleeping" then all of your files have been indexed.
Using MetaTracker
There are several ways of performing a tracker search.
Tracker own search GUI
simply run the following command to have a nice search interface with advanced file type selection.
tracker-search-tool
Nautilus Integration
To properly use the Tracker search functionality you should install the tracker enabled Nautilus.
Download the Tracker enabled Nautilus deb: [http://www.gnome.org/~jamiemcc/tracker/DEB/nautilus_2.14.1-0ubuntu9tracker1_i386.deb nautilus_2.14.1-0ubuntu9tracker1_i386.deb]
(WARNING this will remove the Beagle support from Nautilus. This is only an issue if you have Beagle installed and use is regularly)
if you are running Edgy or another more recent distribution you might prefer the [http://www.gnome.org/~jamiemcc/tracker/DEB/nautilus_2.16.1-0ubuntu3tracker1_i386.deb nautilus_2.16.1-0ubuntu3tracker1_i386.deb] (more recent) packages.
- Open with Gdebi and install the package. After the package is installed close gdebi.
- Press Alt+F2 and enter "nautilus -q" in order to restart nautilus
Congratulations! The Tracker enabled Nautilus is now installed.
If Tracker has finished indexing your files, open Nautilus and click the "Search for files" button. Type in your search, click, and be surprised at how quick you get the results.
Deskbar Applet Handler
Deskbar is a search box which is always available on one of your desktop panels. Deskbar can perform many different search types, including Tracker searches.
Open a terminal ("Applications" -> "Accessories" -> "Terminal")
- Type these commands:
wget http://www.madman2k.net/files/tracker.py mv tracker.py ~/.gnome2/deskbar-applet/handlers/tracker.py
- If you had the deskbar applet running before installing the Tracker handler:
- Restart Gnome. (log-out and log-in again)
- If you didn't have the Deskbar applet running:
- Right Click on one of the gnome panels and Click add to panel
- Click the Deskbar icon, and the add button, and then close.
Congratulations! The Tracker handle is now installed for Deskbar. (You will have to enable it through the Deskbar preferences)
Command-line tools
Tracker can also be used from the command line. Click Applications -> Accessories -> Terminal to open a terminal. Type 'tracker' and then press the Tab key on the keyboard twice in rapid succession. This will display a list of Tracker command-line tools which you can use. For example, you can type tracker-search <search terms> (replace <search terms> with your own search terms) to perform searches from the command-line.
Configuring Tracker
You can change various settings for Tracker by editing the "~/.Tracker/tracker.cfg" file.
Advanced MetaTracker
Advanced features are available, for which the latest [http://cvs.gnome.org/viewcvs/tracker/ChangeLog?view=log CVS version] of Tracker is recommended (if not required):
the [http://cvs.gnome.org/viewcvs/tracker/src/libtracker/tracker-tag.c?rev=1.8&view=markup tagging] of files with user-chosen tags, eventually integrated in nautilus using [http://mail.gnome.org/archives/tracker-list/2006-September/msg00005.html a plugin]
the creation and reuse of [http://cvs.gnome.org/viewcvs/tracker/rdf-query-examples/ complex queries] (RDFQ) combining multiple facets (eg: file type, size, location, date, keyword ...)
the use of the complex queries above as virtual directory in your filesystem, using [http://code.google.com/p/trackerfs/ trackerfs]
- the support for thumbnails of your documents
- a specific GUI (under design)
Alternatives to Tracker
Tracker is just one of many desktop search applications compatible with Ubuntu. Below is a short list of other search applications you may like to try:
["Beagle"] - A feature rich & integrated alternative to Tracker written in C# (mono)
Kat - [http://kat.mandriva.com/]
Getting some help
Help related to using or enhancing Tracker can be found in the [http://mail.gnome.org/archives/tracker-list/index.html Tracker mailing-list archive], by subscribing to the [http://mail.gnome.org/mailman/listinfo/tracker-list Tracker mailing list], or on the irc.gimp.net #tracker channel.