个人工具
登录
查看“UbuntuHelp:MetaTracker”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:MetaTracker”的源代码
来自Ubuntu中文
←
UbuntuHelp:MetaTracker
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/MetaTracker}} {{Languages|UbuntuHelp:MetaTracker}} [[UbuntuHelp:MetaTracker|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, [[UbuntuHelp:MetaTracker|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/projects/tracker/ Tracker project homepage] for more information. === Installing [[UbuntuHelp:MetaTracker|MetaTracker]] === ==== Get [[UbuntuHelp:MetaTracker|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. # 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. * '''Ubuntu 6.10 Edgy Eft''': 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/] # 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 [https://help.ubuntu.com/community/InstallingSoftware Installing Software] or with a command line: <pre><nowiki> sudo apt-get install tracker-search-tool </nowiki></pre> ==== Configure Metatracker to start indexing automatically (not needed for Feisty) ==== # Click "System" -> "Preferences" -> "Sessions" # Click the startup programs tab # 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: <pre><nowiki> tail -f ~/.Tracker/tracker.log </nowiki></pre> 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 [[UbuntuHelp:MetaTracker|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. <pre><nowiki> tracker-search-tool </nowiki></pre> ==== Nautilus Integration ==== To properly use the Tracker search functionality you should install the tracker enabled Nautilus. # 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)''' [http://www.gnome.org/~jamiemcc/tracker/DEB/nautilus_2.14.1-0ubuntu9tracker1_i386.deb nautilus_2.14.1-0ubuntu9tracker1_i386.deb] * '''Ubuntu 6.10 Edgy Eft''': [http://www.gnome.org/~jamiemcc/tracker/DEB/nautilus_2.16.1-0ubuntu3tracker1_i386.deb nautilus_2.16.1-0ubuntu3tracker1_i386.deb] * '''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] # 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. '''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 [https://help.ubuntu.com/community/SynapticHowto Synaptic Package Manager] Or you can install it via the terminal: <pre><nowiki> sudo apt-get install libdeskbar-tracker </nowiki></pre> '''Warning''' There is a bug which prevent the deskbar to launch. * The bug report is here: [https://bugs.launchpad.net/ubuntu/+source/tracker/+bug/85029] * 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''' # Open a terminal ("Applications" -> "Accessories" -> "Terminal") # Type this command to install for a single user: <pre><nowiki> wget http://www.madman2k.net/files/deskbar-tracker-05.py -O ~/.gnome2/deskbar-applet/handlers/deskbar-tracker-05.py </nowiki></pre> * 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 </nowiki></pre> * If you had the deskbar applet running before installing the Tracker handler: ** Either restart Gnome (log-out and log-in again). ** Or: *# Right-click Deskbar and click "Remove From Panel" *# Right-click Panel and click "Add To Panel" *# Click the Deskbar icon, and the add button, and then close. * 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 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 <code><nowiki>Tab</nowiki></code> 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 <code><nowiki>tracker-search <search terms></nowiki></code> (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 [[UbuntuHelp:MetaTracker|MetaTracker]] === Advanced features are available, for which the latest [http://svn.gnome.org/viewcvs/tracker/trunk/ChangeLog?view=log SVN version] of Tracker is recommended (if not required): * the [http://svn.gnome.org/viewcvs/tracker/trunk/src/libtracker/tracker-tag.c?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://svn.gnome.org/viewcvs/tracker/trunk/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: * [[UbuntuHelp:Beagle|Beagle]] - A feature rich & integrated alternative to Tracker written in C# (mono) * 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 === 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. [[category:CategoryCleanup]] [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:MetaTracker
。