Home

KLocate -- KDE front-end to slocate or GNU locate

Updated June 13, 2005

version 0.50.2 and 0.50.3, March 7, 2004
Copyright: © 2004 Alexandre Oberlin


KLocate is currently unmaintained.

You can still download it but would probably be better off with XLocate


KLocate is a KDE front end to the standard Linux locate utility, which allows instant searching through local and remote file systems as well as shelved collections of removable drives, CDROMs and data DVDs


Instructions and download for KDE 3


Instructions and download for KDE 2


Current patches for versions 0.50.x


KLocate-0.50.3 for KDE 3

Prerequisites for KLocate-0.50.3 for KDE 3 :

Except the optional blkid, the above software comes along with any recent distribution (e.g. RedHat 8.0 or higher).

Check klocate-0.50.3.lsm -- Check ChangeLog

Download klocate version 0.50.3 for KDE 3.0.5


Quick installation instructions:

Let's suppose you downloaded the archive klocate-0.50.3.tar.gz in /tmp

$> cd /tmp
$> tar -xvzf klocate-0.50.3.tar.gz
$> cd klocate-0.50.3
$> ./configure
$> make
$> su -c 'make install'			# (enter root password)

KLocate-0.50.2 for KDE 2

Prerequisites for KLocate-0.50.2 for KDE 2 :

Except the optional blkid, the above software comes along with any reasonably recent distribution (e.g. RedHat 7.1 or higher).

Check klocate-0.50.2.lsm -- Check ChangeLog

Download klocate version 0.50.2 for KDE 2.1


Quick installation instructions:

Let's suppose you downloaded the archive klocate-0.50.2.tar.gz in /tmp

$> cd /tmp
$> tar -xvzf klocate-0.50.2.tar.gz
$> cd klocate-0.50.2
$> ./configure
$> make
$> su -c 'make install'			# (enter root password)

Current patches for versions 0.50.x

Patch to add directory information to the preselection buttons

When a database file is added to a preselection button, the directory information for this file is not passed to the preselection button. Consequently, in case you have distinct files with the same name in different database directories (e.g. "var/lib/xlocate" and "~/.kde/share/apps/klocate"), clicking on the preselection button will select the first database file whose name matches, which might not be the one you intended. PRESEL_DIR.patch corrects this bug by adding the database file's directory information in the preselection button. This will clutter up a bit you klocaterc file, so you might not deem it essential.
Get PRESEL_DIR.patch

Patch for GNU locate

If you use GNU locate (version 4.1.6 or higher, e.g. in SUSE distribution) and don't want to change for slocate, you can use GNU-locate.patch. There are some minor drawbacks however:

Get GNU-locate.patch

Installation instructions with patch:

Let's suppose you downloaded the archive klocate-0.50.3.tar.gz and the patch PRESEL_DIR.patch in /tmp

$> cd /tmp
$> tar -xvzf klocate-0.50.3.tar.gz
$> cd klocate-0.50.3
$> patch -p0 <../PRESEL_DIR.patch
$> ./configure
$> make
$> su -c 'make install'			# (enter root password)