0.68 GPL (GNU General Public License)    
  not rated
A Qt4 frontend to the standard Linux locate utilities




XLocate is a file system index management tool and a front-end to the most popular GNU-Linux fast search utilities. It allows you to maintain a collection of databases for shelved or offsite CD/DVD/Blu-ray collections, network places, memory sticks, fixed and removable hard disks, etc.

You can define search sets and get a high level of flexibility through a large set of options. XLocate automatically recognizes through magic three of the most widespread locate database formats (GNU locate, slocate and mlocate). You can conveniently search for files using any of these 3 tools, which don't need to be installed in your path. You can also transparently create and update indices from within the application.

- Qt libs, preferably version 4.7 or higher, available at http://www.qt.nokia.com (mandatory)
- at least one of those:
 - slocate version 2.7 or higher
 - GNU locate from package findutils version 4.2.15 or higher
 - mlocate version 0.23.1 or higher
- blkid, from package e2fsprogs version 1.41 or higher. If you want to index removable volumes other than CDROMs, blkid adds convenience by retrieving the volume label.
- hal daemon (to spot removable drives). All this software above comes along with any recent distribution.

Configuration options:
Usage: configure [ -e | -g | -t | -d install_dir | -h ]
 Configure script for XLocate-0.68, relying on installed version of Qt.
 -e configure without file display/edition functionality.
 -g configure for use with GNU locate (default is slocate).
 -t do nothing, just test for Qt version.
 -d dir install to given directory (default /usr/local).
 -h this help.

Quick installation instructions:
Let's suppose you downloaded the archive xlocate-0.68.tar.gz in /tmp
$> cd /tmp
$> tar -xvzf xlocate-0.68.tar.gz
$> cd xlocate-0.68
$> ./configure # or './configure -g' if you use GNU Locate
$> make
$> su -c 'make install' # (enter root password)

1. Building on Qt3 is now deprecated, since you wouldn't have the last improvements since version 0.65.
2.If you have several versions of Qt installed, be sure your QTDIR environment variables are set correctly.
3. The default installation stores index files in a directory /var/lib/xlocate having permissions 775. Since this directory has group write access you can create new index files in it by calling locate updating utilities (updatedb) through XLocate as a simple user. You can also update/delete/rename existing index files provided the individual file permissions are set accordingly (recommended setting 664, with group owner slocate). XLocate should not be setuid nor setgid. Giving universal write access to the directory /var/lib/xlocate is strongly discouraged.
4. XLocate can manage index files from several directories outside /var/lib/xlocate. In case you have permissions issues due to administration policies, you then can index whatever you want and put the index files in a personal directory (e.g. ~/xlocate).
Last updated on May 9th, 2012

0 User reviews so far.