About nixCraft

Topics

Linux desktop search

Posted by Vivek Gite [Last updated: January 4, 2006]

Sure find command can do all the work (if you are a hardcore Linux user) for you. However, new Linux user need something that allows them to search stuff right from Linux desktop (no command line). They want utility that indexes files on Linux desktop PC and displays results in search engine style page(s) just like Google/Yahoo desktop search. Unfortunately, Google or Yahoo desktop search works with windows desktop. Nevertheless, Linux comes with Beagle search utility.

We have recently converted (read as upgraded) few users to Linux desktop and guess what, they demanded desktop search tool that can search:

Most of these users are either office users or programmers. They are switching to Linux desktop because:

Gnome project has tool called Beagle. It is a search tool that ransacks your personal information space to find whatever you're looking for. Beagle can search documents, emails and much more. Its indexing sub-system and search aggregator built on top of the Lucene indexer.

Installing beagle
Debian user can use apt-get command to install it:

# apt-get install beagle

Fedora core user can use yum to install it:

yum install beagle

Configure File system
a) Beagle needs xtended attributes support on /home partition by adding user_xattr options field for your /home mount point in /etc/fstab file.

# vi /etc/fstab

Modify your /home line:

/dev/hdb2 /home       ext3    defaults,user_xattr        0   2

b) Remount the /home filesystem

# mount -o remount /home

OR

# mount -o remount /dev/hdb2

Extended attributes are used by Beagle to keep track of which files have been indexed and which need to be re-indexed.

Automatically start beagled service
To run eagled service automatically when you log in your GNOME session, you need to add it to Start Programs in Session Manager as follows:

  1. Click on Gnome Desktop menu > Preferenses > Sessions
  2. Select Startup Programs tab
  3. Click on add > Type /usr/bin/beagled as a startup command. Save the session.


Logout and login again. Please note that if this is the first time login i.e. you run beagle first time, you will need to wait a bit for the daemon to index data from different locations before you can get any result.

Start searching with beagle

To start beagle click on Application > Accessories > Select Beagle search


References:

Next time will see a small amount of tips and tricks related to beagle :)
If you are looking to perform google search from Desktop then you can try out Gnome applet called Deskbar. I do not recommend this applet as it is in beta and google restricts you to 1000 queries per day.

E-mail this to a Friend    Printable Version

Is your site working? Monitor Your Web Site 24/7. Get SMS alerts on server downtime. Free 30-day trial including 20 SMS!

You may also be interested in other helpful articles:

Discussion on This Article:

  1. whitty Says:

    you can also try “locate” for searching files - uses cron triggered indexing and much more efficient than find.

  2. Anonymous Says:

    There are other free desktop search tools for unix and linux, for example kat http://kat.mandriva.com/
    or recoll
    http://www.recoll.org

Leave a Reply

We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Copyright © 2004-2008 nixCraft. All rights reserved - TOS/Disclaimer - Privacy policy - Sitemap - Powered by Open source software.