个人工具

“UbuntuHelp:MetaTracker”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示同一用户的8个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/MetaTracker}}
 
{{From|https://help.ubuntu.com/community/MetaTracker}}
 
{{Languages|UbuntuHelp:MetaTracker}}
 
{{Languages|UbuntuHelp:MetaTracker}}
 +
<<Include(Tag/Unsupported)>>
 
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.
 
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.
 
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.
第8行: 第9行:
 
* '''Ubuntu 6.06 LTS (Dapper Drake)'''
 
* '''Ubuntu 6.06 LTS (Dapper Drake)'''
 
Tracker is not included in Ubuntu Dapper, so you must install it manually from a 3rd party deb package.
 
Tracker is not included in Ubuntu Dapper, so you must install it manually from a 3rd party deb package.
# Download the Tracker deb: [http://dansted.org/tracker_0.5.4_i386.deb tracker_0.5.4_i386.deb]
+
<ol><li>Download the Tracker deb: [http://dansted.org/tracker_0.5.4_i386.deb tracker_0.5.4_i386.deb]
# Open with Gdebi and install the package. After the package is installed close gdebi.
+
</li><li>Open with Gdebi and install the package. After the package is installed close gdebi.</li></ol>
 +
 
 
* '''Ubuntu 6.10 Edgy Eft''':  
 
* '''Ubuntu 6.10 Edgy Eft''':  
 
Tracker is not included in Ubuntu Edgy, so you must install it manually from a 3rd party deb package.
 
Tracker is not included in Ubuntu Edgy, so you must install it manually from a 3rd party deb package.
# Download the Tracker deb: [http://www.gnome.org/~jamiemcc/tracker/DEB/Edgy/]
+
<ol><li>Download the Tracker deb: [http://www.gnome.org/~jamiemcc/tracker/DEB/Edgy/]
# Open with Gdebi and install the package. After the package is installed close gdebi.
+
</li><li>Open with Gdebi and install the package. After the package is installed close gdebi.</li></ol>
 +
 
 
* '''Ubuntu 7.04 Feisty Fawn''':  
 
* '''Ubuntu 7.04 Feisty Fawn''':  
 
Tracker is now included in Ubuntu Feisty. You just have to install the "tracker-search-tool" package.
 
Tracker is now included in Ubuntu Feisty. You just have to install the "tracker-search-tool" package.
You can do it with a GUI, see [https://help.ubuntu.com/community/InstallingSoftware Installing Software] or with a command line:  
+
You can do it with a GUI, see [[UbuntuHelp:InstallingSoftware|Installing|Software]] or with a command line: <pre><nowiki>
<pre><nowiki>
+
 
sudo apt-get install tracker-search-tool
 
sudo apt-get install tracker-search-tool
 
</nowiki></pre>
 
</nowiki></pre>
 
==== Configure Metatracker to start indexing automatically (not needed for Feisty) ====
 
==== Configure Metatracker to start indexing automatically (not needed for Feisty) ====
# Click "System" -> "Preferences" -> "Sessions"
+
<ol><li>Click "System" -> "Preferences" -> "Sessions"
# Click the startup programs tab
+
</li><li>Click the startup programs tab
# Click the add button and type "trackerd" as the name of the program.
+
</li><li>Click the add button and type "trackerd" as the name of the program.</li></ol>
 +
 
 
==== Start Metatracker ====
 
==== Start Metatracker ====
 
Press Alt+F2 and enter "trackerd" in order to start the tracker indexer directly.
 
Press Alt+F2 and enter "trackerd" in order to start the tracker indexer directly.
第42行: 第45行:
 
==== Nautilus Integration ====
 
==== Nautilus Integration ====
 
To properly use the Tracker search functionality you should install the tracker enabled Nautilus.
 
To properly use the Tracker search functionality you should install the tracker enabled Nautilus.
# Download the Tracker enabled Nautilus deb:
+
<ol><li>Download the Tracker enabled Nautilus deb:</li></ol>
 +
 
 
~-(WARNING this will remove the Beagle support from Nautilus. This is only an issue if you have Beagle installed and use it regularly)-~
 
~-(WARNING this will remove the Beagle support from Nautilus. This is only an issue if you have Beagle installed and use it regularly)-~
 
* '''Ubuntu 6.06 LTS (Dapper Drake)'''
 
* '''Ubuntu 6.06 LTS (Dapper Drake)'''
第50行: 第54行:
 
* '''Ubuntu 7.04 Feisty Fawn''':
 
* '''Ubuntu 7.04 Feisty Fawn''':
 
[http://uploader.polorix.net//files/140/nautilus_2.18.1-0ubuntu1madman2k1_i386.deb nautilus_2.18.1-0ubuntu1madman2k1_i386.deb]
 
[http://uploader.polorix.net//files/140/nautilus_2.18.1-0ubuntu1madman2k1_i386.deb nautilus_2.18.1-0ubuntu1madman2k1_i386.deb]
# Open with Gdebi and install the package. After the package is installed close gdebi.
+
<ol><li>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
+
</li><li>Press Alt+F2 and enter "nautilus -q" in order to restart nautilus</li></ol>
 +
 
 
Congratulations! The Tracker enabled Nautilus is now installed.
 
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.
 
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.
第59行: 第64行:
 
The Deskbar Tracker handler is now available in the Feisty Fawn Universe repositories.
 
The Deskbar Tracker handler is now available in the Feisty Fawn Universe repositories.
 
You need to install the "libdeskbar-tracker" package.
 
You need to install the "libdeskbar-tracker" package.
You can do it via the [https://help.ubuntu.com/community/SynapticHowto Synaptic Package Manager]
+
You can do it via the [[UbuntuHelp:SynapticHowto|Synaptic|Package Manager]]
Or you can install it via the terminal:  
+
Or you can install it via the terminal: <pre><nowiki>
<pre><nowiki>
+
 
sudo apt-get install libdeskbar-tracker
 
sudo apt-get install libdeskbar-tracker
 
</nowiki></pre>
 
</nowiki></pre>
第69行: 第73行:
 
Congratulations! The Tracker handler is now installed for Deskbar. (You will have to enable it through the Deskbar preferences)
 
Congratulations! The Tracker handler is now installed for Deskbar. (You will have to enable it through the Deskbar preferences)
 
'''Ubuntu 6.06 LTS (Dapper Drake) and Ubuntu 6.10 Edgy Eft'''  
 
'''Ubuntu 6.06 LTS (Dapper Drake) and Ubuntu 6.10 Edgy Eft'''  
# Open a terminal ("Applications" -> "Accessories" -> "Terminal")  
+
<ol><li>Open a terminal ("Applications" -> "Accessories" -> "Terminal")
# Type this command to install for a single user:  
+
</li><li>Type this command to install for a single user: <pre><nowiki>
<pre><nowiki>
+
 
wget http://www.madman2k.net/files/deskbar-tracker-05.py -O ~/.gnome2/deskbar-applet/handlers/deskbar-tracker-05.py
 
wget http://www.madman2k.net/files/deskbar-tracker-05.py -O ~/.gnome2/deskbar-applet/handlers/deskbar-tracker-05.py
</nowiki></pre>
+
</nowiki></pre></li></ol>
* Alternatively, type in this command to install system-wide:  
+
 
<pre><nowiki>
+
* Alternatively, type in this command to install system-wide: <pre><nowiki>
 
sudo wget http://www.madman2k.net/files/deskbar-tracker-05.py -O /usr/lib/deskbar-applet/handlers/deskbar-tracker-05.py
 
sudo wget http://www.madman2k.net/files/deskbar-tracker-05.py -O /usr/lib/deskbar-applet/handlers/deskbar-tracker-05.py
 
</nowiki></pre>
 
</nowiki></pre>
 
* If you had the deskbar applet running before installing the Tracker handler:
 
* If you had the deskbar applet running before installing the Tracker handler:
** Either restart Gnome (log-out and log-in again).
+
* Either restart Gnome (log-out and log-in again).
** Or:
+
* Or:
*# Right-click Deskbar and click "Remove From Panel"
+
<ol><li>Right-click Deskbar and click "Remove From Panel"
*# Right-click Panel and click "Add To Panel"
+
</li><li>Right-click Panel and click "Add To Panel"
*# Click the Deskbar icon, and the add button, and then close.
+
</li><li>Click the Deskbar icon, and the add button, and then close.</li></ol>
 +
 
 
* If you didn't have the Deskbar applet running:
 
* If you didn't have the Deskbar applet running:
*# Right Click on one of the gnome panels and Click add to panel
+
<ol><li>Right Click on one of the gnome panels and Click add to panel
*# Click the Deskbar icon, and the add button, and then close.
+
</li><li>Click the Deskbar icon, and the add button, and then close.</li></ol>
 +
 
 
Congratulations! The Tracker handler is now installed for Deskbar. (You will have to enable it through the Deskbar preferences)
 
Congratulations! The Tracker handler is now installed for Deskbar. (You will have to enable it through the Deskbar preferences)
 
==== Command-line tools ====
 
==== Command-line tools ====
第101行: 第106行:
 
=== Alternatives to Tracker ===
 
=== 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:
 
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:
* [[UbuntuHelp:Beagle]] - A feature rich & integrated alternative to Tracker written in C# (mono)
+
* [[UbuntuHelp:Beagle|Beagle]] - A feature rich & integrated alternative to Tracker written in C# (mono)
 
* Strigi - [http://strigi.sourceforge.net/]
 
* Strigi - [http://strigi.sourceforge.net/]
 
* Recoll - [http://www.lesbonscomptes.com/recoll/]: a lightweight desktop search engine using Qt, features stemming and complex queries, very good filetype-support, Debian/Ubuntu-packages available
 
* Recoll - [http://www.lesbonscomptes.com/recoll/]: a lightweight desktop search engine using Qt, features stemming and complex queries, very good filetype-support, Debian/Ubuntu-packages available
 
=== Getting some help ===
 
=== 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.
 
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.
[[category:CategoryCleanup]]
 
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2010年5月19日 (三) 23:24的最新版本

<<Include(Tag/Unsupported)>> 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 Tracker project homepage for more information.

Installing MetaTracker

Get MetaTracker

  • Ubuntu 6.06 LTS (Dapper Drake)

Tracker is not included in Ubuntu Dapper, so you must install it manually from a 3rd party deb package.

  1. Download the Tracker deb: tracker_0.5.4_i386.deb
  2. Open with Gdebi and install the package. After the package is installed close gdebi.
  • Ubuntu 6.10 Edgy Eft:

Tracker is not included in Ubuntu Edgy, so you must install it manually from a 3rd party deb package.

  1. Download the Tracker deb: [1]
  2. Open with Gdebi and install the package. After the package is installed close gdebi.
  • Ubuntu 7.04 Feisty Fawn:

Tracker is now included in Ubuntu Feisty. You just have to install the "tracker-search-tool" package.

You can do it with a GUI, see Installing|Software or with a command line:
sudo apt-get install tracker-search-tool

Configure Metatracker to start indexing automatically (not needed for Feisty)

  1. Click "System" -> "Preferences" -> "Sessions"
  2. Click the startup programs tab
  3. Click the add button and type "trackerd" as the name of the program.

Start Metatracker

Press Alt+F2 and enter "trackerd" in order to start the tracker indexer directly. 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.

  1. Download the Tracker enabled Nautilus deb:

~-(WARNING this will remove the Beagle support from Nautilus. This is only an issue if you have Beagle installed and use it regularly)-~

  • Ubuntu 6.06 LTS (Dapper Drake)

nautilus_2.14.1-0ubuntu9tracker1_i386.deb

  • Ubuntu 6.10 Edgy Eft:

nautilus_2.16.1-0ubuntu3tracker1_i386.deb

  • Ubuntu 7.04 Feisty Fawn:

nautilus_2.18.1-0ubuntu1madman2k1_i386.deb

  1. Open with Gdebi and install the package. After the package is installed close gdebi.
  2. 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. Ubuntu 7.04 Feisty Fawn The Deskbar Tracker handler is now available in the Feisty Fawn Universe repositories. You need to install the "libdeskbar-tracker" package. You can do it via the Synaptic|Package Manager

Or you can install it via the terminal:
sudo apt-get install libdeskbar-tracker

Warning There is a bug which prevent the deskbar to launch.

  • The bug report is here: [2]
  • to prevent this bug you can remove "Tracker" From System->Preferences->Session

Congratulations! The Tracker handler is now installed for Deskbar. (You will have to enable it through the Deskbar preferences) Ubuntu 6.06 LTS (Dapper Drake) and Ubuntu 6.10 Edgy Eft

  1. Open a terminal ("Applications" -> "Accessories" -> "Terminal")
  2. Type this command to install for a single user:
    wget http://www.madman2k.net/files/deskbar-tracker-05.py -O ~/.gnome2/deskbar-applet/handlers/deskbar-tracker-05.py
    
  • Alternatively, type in this command to install system-wide:

sudo wget http://www.madman2k.net/files/deskbar-tracker-05.py -O /usr/lib/deskbar-applet/handlers/deskbar-tracker-05.py

  • If you had the deskbar applet running before installing the Tracker handler:
  • Either restart Gnome (log-out and log-in again).
  • Or:
  1. Right-click Deskbar and click "Remove From Panel"
  2. Right-click Panel and click "Add To Panel"
  3. Click the Deskbar icon, and the add button, and then close.
  • If you didn't have the Deskbar applet running:
  1. Right Click on one of the gnome panels and Click add to panel
  2. Click the Deskbar icon, and the add button, and then close.

Congratulations! The Tracker handler 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 SVN version of Tracker is recommended (if not required):

  • the tagging of files with user-chosen tags, eventually integrated in nautilus using a plugin
  • the creation and reuse of 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 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)
  • Strigi - [3]
  • Recoll - [4]: a lightweight desktop search engine using Qt, features stemming and complex queries, very good filetype-support, Debian/Ubuntu-packages available

Getting some help

Help related to using or enhancing Tracker can be found in the Tracker mailing-list archive, by subscribing to the Tracker mailing list, or on the irc.gimp.net #tracker channel.