特殊:Badtitle/NS100:Beagle:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Wikibot留言 | 贡献
无编辑摘要
Wikibot留言 | 贡献
无编辑摘要
第2行: 第2行:
{{Languages|UbuntuHelp:Beagle}}
{{Languages|UbuntuHelp:Beagle}}
Beagle is a desktop search application which allows you to quickly search your documents, e-mails, photos and other files. The advantage of Beagle over the default search feature in Ubuntu (''Places -> Search for files...'') is that results are returned much more quickly and more types of file/information are searched for (for example, your calendar).
Beagle is a desktop search application which allows you to quickly search your documents, e-mails, photos and other files. The advantage of Beagle over the default search feature in Ubuntu (''Places -> Search for files...'') is that results are returned much more quickly and more types of file/information are searched for (for example, your calendar).
See the [http://beagle-project.org Beagle project website] for more information.
See the [[http://beagle-project.org|Beagle project website]] for more information.
=== Installing Beagle ===
=== Installing Beagle ===
In Ubuntu 6.06 the ''beagle'' package can be found in the Universe Repository while in Ubuntu 6.10 and 7.04 just install ''beagle'' using your favorite package manager.
In Ubuntu 6.06 the ''beagle'' package can be found in the Universe Repository while in Ubuntu 6.10 and 7.04 just install ''beagle'' using your favorite package manager.
第9行: 第9行:
Beagle makes extensive use of extended attributes in your filesystem. If you are using the default ext3 filesystem, you need to enable this, otherwise Beagle will fall back to using sqlite, which leads to decreased performance. This is done via the `/etc/fstab` file. You need to add the `user_xattr` option to the drive that Beagle will be using, here is an example:
Beagle makes extensive use of extended attributes in your filesystem. If you are using the default ext3 filesystem, you need to enable this, otherwise Beagle will fall back to using sqlite, which leads to decreased performance. This is done via the `/etc/fstab` file. You need to add the `user_xattr` option to the drive that Beagle will be using, here is an example:
UUID=9709df23-8843-47e3-9522-40b25a3ffb2f /              ext3    defaults,errors=remount-ro,user_xattr 0      1
UUID=9709df23-8843-47e3-9522-40b25a3ffb2f /              ext3    defaults,errors=remount-ro,user_xattr 0      1
For more information on extended attributes, see the [http://beagle-project.org/Enabling_Extended_Attributes relevant page] on the Beagle wiki. While using Beagle without Extended Attributes does work, it is slow, so it is highly recommended that users enable `user_xattr`.  
For more information on extended attributes, see the [[http://beagle-project.org/Enabling_Extended_Attributes|relevant page]] on the Beagle wiki. While using Beagle without Extended Attributes does work, it is slow, so it is highly recommended that users enable `user_xattr`.  
=== Using Beagle ===
=== Using Beagle ===
There are several ways of performing a Beagle search.
There are several ways of performing a Beagle search.
==== Search tool ====
==== Search tool ====
{|border="1" cellspacing="0"
{|border="1" cellspacing="0"
|https://help.ubuntu.com/community/Beagle?action=AttachFile&do=get&target=beagle-search.png <br> ''The default Search Tool (Applications --> Accessories --> Search)''
|{{https://help.ubuntu.com/community/Beagle?action=AttachFile&do=get&target=beagle-search.png%7D%7D > ''The default Search Tool (Applications --> Accessories --> Search)''
|}
|}
When you install Beagle, the Search tool is installed automatically. You can start the Search tool by clicking ''Applications -> Accessories -> Search''. Simply type your search into the box provided and press the ''Find Now'' button. You can limit your search to a specific type of document by selecting the desired type from the ''Search'' menu of the Search tool.
When you install Beagle, the Search tool is installed automatically. You can start the Search tool by clicking ''Applications -> Accessories -> Search''. Simply type your search into the box provided and press the ''Find Now'' button. You can limit your search to a specific type of document by selecting the desired type from the ''Search'' menu of the Search tool.
第28行: 第28行:
Beagle can also be used from the command line. Click ''Applications -> Accessories -> Terminal'' to open a terminal. Type 'beagle' and then press the <code><nowiki>Tab</nowiki></code> key on the keyboard twice in rapid succession. This will display a list of Beagle command-line tools which you can use. For example, you can type <code><nowiki>beagle-query <search terms></nowiki></code> (replace ''<search terms>'' with your own search terms) to perform searches from the command-line.
Beagle can also be used from the command line. Click ''Applications -> Accessories -> Terminal'' to open a terminal. Type 'beagle' and then press the <code><nowiki>Tab</nowiki></code> key on the keyboard twice in rapid succession. This will display a list of Beagle command-line tools which you can use. For example, you can type <code><nowiki>beagle-query <search terms></nowiki></code> (replace ''<search terms>'' with your own search terms) to perform searches from the command-line.
==== Web-Frontend Peagle ====
==== Web-Frontend Peagle ====
A web-based interface to Beagle is available. Called 'Peagle', it requires PHP and a web-server to be installed. Peagle is not currently available in any official Ubuntu software channel. For more information, see the [http://www.kde-apps.org/content/show.php?content=38289 Peagle project page].
A web-based interface to Beagle is available. Called 'Peagle', it requires PHP and a web-server to be installed. Peagle is not currently available in any official Ubuntu software channel. For more information, see the [[http://www.kde-apps.org/content/show.php?content=38289|Peagle project page]].
==== Applications which use Beagle ====
==== Applications which use Beagle ====
Some applications are able to use Beagle to perform searches on certain types of file or information. Using Beagle instead of the application's own search function often has the advantage of returning results faster. Applications which can use Beagle searches often do so automatically (without your intervention) if the beagle package is installed.
Some applications are able to use Beagle to perform searches on certain types of file or information. Using Beagle instead of the application's own search function often has the advantage of returning results faster. Applications which can use Beagle searches often do so automatically (without your intervention) if the beagle package is installed.
第38行: 第38行:
=== Alternatives to Beagle ===
=== Alternatives to Beagle ===
Beagle 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 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:Tracker|Tracker]] - A lighter, faster desktop indexing system written in C.
* [[Tracker]] - A lighter, faster desktop indexing system written in C.
* Strigi - [http://strigi.sourceforge.net/]
* Strigi - [[http://strigi.sourceforge.net/]]
[[category:CategoryDocumentation]]  
[[category:CategoryDocumentation]]  


[[category:UbuntuHelp]]
[[category:UbuntuHelp]]

2008年10月19日 (日) 04:20的版本

{{#ifexist: :Beagle/zh | | {{#ifexist: Beagle/zh | | {{#ifeq: {{#titleparts:Beagle|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Beagle|1|-1|}} | zh | | }}

Beagle is a desktop search application which allows you to quickly search your documents, e-mails, photos and other files. The advantage of Beagle over the default search feature in Ubuntu (Places -> Search for files...) is that results are returned much more quickly and more types of file/information are searched for (for example, your calendar). See the [project website] for more information.

Installing Beagle

In Ubuntu 6.06 the beagle package can be found in the Universe Repository while in Ubuntu 6.10 and 7.04 just install beagle using your favorite package manager. Once the installation process has completed, you can start the Search tool by clicking Applications -> Accessories -> Search.

Enabling Extended Attributes

Beagle makes extensive use of extended attributes in your filesystem. If you are using the default ext3 filesystem, you need to enable this, otherwise Beagle will fall back to using sqlite, which leads to decreased performance. This is done via the `/etc/fstab` file. You need to add the `user_xattr` option to the drive that Beagle will be using, here is an example: UUID=9709df23-8843-47e3-9522-40b25a3ffb2f / ext3 defaults,errors=remount-ro,user_xattr 0 1 For more information on extended attributes, see the [page] on the Beagle wiki. While using Beagle without Extended Attributes does work, it is slow, so it is highly recommended that users enable `user_xattr`.

Using Beagle

There are several ways of performing a Beagle search.

Search tool

{{https://help.ubuntu.com/community/Beagle?action=AttachFile&do=get&target=beagle-search.png%7D%7D > The default Search Tool (Applications --> Accessories --> Search)

When you install Beagle, the Search tool is installed automatically. You can start the Search tool by clicking Applications -> Accessories -> Search. Simply type your search into the box provided and press the Find Now button. You can limit your search to a specific type of document by selecting the desired type from the Search menu of the Search tool.

Kerry search tool

Kerry is a Beagle search tool designed specifically for KDE, and so is recommended for use by Kubuntu users instead of Beagle's default tool. However, Ubuntu, Edubuntu and Xubuntu users can still install and use Kerry. To start using Kerry, install the kerry package from the Universe Repository. See InstallingSoftware for instructions on how to install packages.

Deskbar applet

Deskbar is a search box which is always available on one of your desktop panels. Deskbar can perform many different search types, including Beagle searches. To start using Deskbar, install the deskbar-applet package. Once installed, right-click the top or bottom panel and select Add to Panel... from the menu which appears. Then, simply drag the Deskbar item to a place on one of the panels. Deskbar allows you to have a Beagle search as well as a Beagle Live search. The difference between the two options is that Beagle Live will use Beagle to search as you type. On the other hand, the Beagle search will simply display the option to launch the Beagle Search program for the text you entered into Deskbar. To use Beagle Live with Deskbar you must install the python-beagle package from the Universe Repository. See InstallingSoftware for instructions on how to install packages.

Command-line tools

Beagle can also be used from the command line. Click Applications -> Accessories -> Terminal to open a terminal. Type 'beagle' and then press the Tab key on the keyboard twice in rapid succession. This will display a list of Beagle command-line tools which you can use. For example, you can type beagle-query <search terms> (replace <search terms> with your own search terms) to perform searches from the command-line.

Web-Frontend Peagle

A web-based interface to Beagle is available. Called 'Peagle', it requires PHP and a web-server to be installed. Peagle is not currently available in any official Ubuntu software channel. For more information, see the [project page].

Applications which use Beagle

Some applications are able to use Beagle to perform searches on certain types of file or information. Using Beagle instead of the application's own search function often has the advantage of returning results faster. Applications which can use Beagle searches often do so automatically (without your intervention) if the beagle package is installed. Below is a short list of applications which can use Beagle searches:

  • System Documentation (yelp) - found in System -> Help -> System Documentation.
  • File Browser (nautilus) - open a directory (e.g. from the Places menu) and click the Search button.

Configuring Beagle

You can change various settings for Beagle using the Search & Indexing preferences tool. To start the tool, click System -> Preferences -> Search & Indexing.

Alternatives to Beagle

Beagle 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 - A lighter, faster desktop indexing system written in C.
  • Strigi - [[1]]