Linux desktop search

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:

  • Documents
  • Emails
  • Web history
  • IM/IRC conversations
  • Source code
  • Images
  • Music files
  • Applications
  • And much more, right from Linux desktop.

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

  • Programmers find it more challenging, secure, and other colleagues are using so they would like to try it out
  • Office users find it secure and virus free environment

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


# 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


  • General information on Beagle
  • Installing help for Gentoo, MandrivaLinux, SUSE, Ubuntu Linux distributions
  • Finding/locating files with find command part I and part II

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.

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 5 comments so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersdf duf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Modern utilitiesbat exa
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg glances gtop jobs killall kill pidof pstree pwdx time vtop
Searchingag grep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
5 comments… add one
  • whitty Jan 10, 2006 @ 9:14

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

  • Anonymous Jan 15, 2006 @ 0:40

    There are other free desktop search tools for unix and linux, for example kat
    or recoll

  • Hardcore Linux user Mar 10, 2009 @ 12:09

    “Sure find command can do all the work (if you are a hardcore Linux user) for you. ” Already wrong. “find” does not index file content, not even file names. You need “locate” to index file names. But then you still can’t search quickly for content. “grep” searches for content. “desktop search” is to “grep” as “locate” is to “find”.

  • Andrew Stallard Mar 2, 2010 @ 22:51

    Upon typing “yum install beagle” I got a response that no such package was available. In addition, there is no /home in my /etc/fstab file. Has anybody else had this problem?

  • Koratsuki Mar 16, 2010 @ 20:00

    @Andrew Stallard:
    Man, “we” suppose that you have your home folder in another partition not in the same that the filesystem is located, remember /etc/fstab is the file for the mount points in the system. If the package isn´t in your repository try downloading it from another source and install it, them excecute the rest od the procedure.

    I (since I was in Slackware, now I´am using Debian I dont know if it changes in that time) recommend you to use localte (slocate or rlocate) after updatedb. Could be very useful to you 😀

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum