kio-locate

KDE 1.-4. Improvements

Source:

1
Score 78%
Description:

kio-locate is a KDE I/O Slave for the locate command. This means that you can use kio-locate by simply typing in konquerors address box.

You can e.g. type "locate:index.html" to find all files that contain "index.html" in their name. There's even more: You can use kio-locate in all KDE applications, that accept URLs. Just take a look at the screenshots.

Many thanks to Tobi Vollebregt who has been improving kio-locate as a participant of Googles "Summer of Code". Thank you very much!
Last changelog:

12 years ago

kio-locate (0.4.5) 2006-02-05 -- Armin Straub

* Search hits with non-ascii characters in the file name always showed up
with invalid size/owner/group information (fixed by Johan Billing).
* kio-locate should now compile with gcc-4.1_beta (fixed by Jan Jitse
Venselaar).
* Updated to bksys 1.5.1.


kio-locate (0.4.4) 2005-10-19 -- Armin Straub

+ Warn if locate (or whatever is selected) is not installed (suggested
by Axel K. Braun).
* Use slocate and rlocate as default when available (suggested by Nicolas
Degand).
* Closed a bug preventing the display of items having the same prefix
(reported by Takis).

maarizwan

9 years ago

Please port kio-locate to kde4 please.. really useful.. please consider porting to kde4.. good software/efforts should be there always :)

thanks.

Report

aspotashev

6 years ago

Look here: http://websvn.kde.org/trunk/playground/ioslaves/kio-locate/

Report

lolo110808

9 years ago

This is a great add-on and KDE4 misses it. Is there any chance to get it ported to KDE4 ? Thanks.

Report

cypherpunk

11 years ago

it is very annoying to type "locate:" every time you want to search for something. we will shorten this to "l:" only. follow the instructions below:

so, just unpack the source, go to src/ directory and edit the locate.protocol file.


change:
protocol=locate
to:
protocol=l

and you are done!

now you just need to write:
l:anything

and the konqueror will display results found for "anything"

Report

halux

12 years ago

Really like this idea ! Also it is consequential, as kde provides many io slaves for unix tools, e.g. man and info.

Felix

Report

kamaraju

12 years ago

I downloaded kio-locate_0.4.5-1_i386.deb from http://arminstraub.de/browse.php?page=programs_kiolocate&lang=en . But I am unable to install it on Debian Sid running kde 3.5.2. The exact errors are

$sudo dpkg -i kio-locate_0.4.5-1_i386.deb
Selecting previously deselected package kio-locate.
(Reading database ... 264885 files and directories currently installed.)
Unpacking kio-locate (from kio-locate_0.4.5-1_i386.deb) ...
dpkg: dependency problems prevent configuration of kio-locate:
kio-locate depends on kdelibs4c2 (>= 4:3.4.2-1); however:
Package kdelibs4c2 is not installed.
dpkg: error processing kio-locate (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
kio-locate

The website http://arminstraub.de/browse.php?page=programs_kiolocate&lang=en does not tell where to report the problems. So I have previously reported the problem to debian-user mailing list. I have not received any response from the developers on that list. So I am posting it here. The corresponding thread can be found at
http://lists.debian.org/debian-user/2006/04/msg00907.html

thanks
raju

Report

C

arminstraub

12 years ago

This error occurs because I build the package some time ago, when kdelibs4c2 had not been replaced by kdelibs4c2a. Unfortunately, I am not using Debian any more, so I don't know how to update the package on my machine.

Perhaps someone can send me an updated deb file? Since the sources already contain the necessary files, creating the deb file should be as simple as fakeroot debian/rules binary provided all development packages are installed.

Report

kamaraju

12 years ago

I tried building this package. But there were some errors and it did not build properly. I am providing the errors below. If you have any suggestions, I would be happy to incorporate them.

$fakeroot debian/rules binary
test -x debian/rules
test "`id -u`" = 0
dh_clean -k
dh_installdirs -A
mkdir -p "."
python scons-mini/scons configure prefix=/home/software/unZipped/kio-locate/kio-locate-0.4.5/debian/kio-locate//usr
scons: Reading SConscript files ...
** installation prefix for the project set to: /home/software/unZipped/kio-locate/kio-locate-0.4.5/debian/kio-locate/usr
Checking for kde-config : kde-config was found as /usr/bin/kde-config
Checking for kde version : 3.5.2
Checking for the qt library : qt was found as /usr
Checking for uic : uic was found as /usr/bin/uic
Checking for moc : moc was found as /usr/bin/moc
Checking for the qt includes : the qt headers were found in /usr/include/qt3/
Checking for the kde includes : the kde headers were found in /usr/include/kde/
Checking KDE for UDS_HIDDEN : yes
touch ./config.status
python scons-mini/scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
processing klocateconfig.kcfgc to get klocateconfig.h and klocateconfig.cpp
kconfig_compiler -dbuild/src build/src/kio_locate.kcfg build/src/klocateconfig.kcfgc
g++ -I/usr/include/kde/ -I/usr/include/qt3 -fPIC -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -DHAVE_UDS_HIDDEN -I. -Ibuild/src -c -o build/src/klocateconfig.os build/src/klocateconfig.cpp


bunch of compilation commands and in the end

Install file: "build/src/kio_locate.so" as "debian/kio-locate/usr/lib/kde3/kio_locate.so"
Install file: "build/src/kio_locate.la" as "debian/kio-locate/usr/lib/kde3/kio_locate.la"
Install file: "build/src/locate.protocol" as "debian/kio-locate/usr/share/services/locate.protocol"
Install file: "build/src/locater.protocol" as "debian/kio-locate/usr/share/services/locater.protocol"
Install file: "build/src/rlocate.protocol" as "debian/kio-locate/usr/share/services/rlocate.protocol"
Install file: "build/src/locate.desktop" as "debian/kio-locate/usr/share/services/searchproviders/locate.desktop"
Install file: "doc/en/screenshot.png" as "debian/kio-locate/usr/share/doc/kde/HTML/en/kio-locate/screenshot.png"
Install file: "doc/en/index.docbook" as "debian/kio-locate/usr/share/doc/kde/HTML/en/kio-locate/index.docbook"
scons: done building targets.

scons: *** Dependency cycle: doc/en/index.cache.bz2 -> doc/en/index.cache.bz2 -> debian/kio-locate/usr/share/doc/kde/HTML/en/kio-locate/index.cache.bz2 -> install
File "/home/software/unZipped/kio-locate/kio-locate-0.4.5/scons-mini/scons-local-0.96.1/SCons/Taskmaster.py", line 145, in _find_next_ready_node
make: *** [common-install-impl] Error 2

Report

Stumbles

11 years ago

I to get that Dependency cycle error but don't know how to get around it. Any pointers?

Report

davidanderson

11 years ago

I'm trying to create a package for Fedora Core 5, and I get this error too.

Anyone have a clue?

Report

toyg

10 years ago

I think it's due to this call: meinproc --check --cache index.cache.bz2 index.docbook

This works when run as root, not when running under fakeroot, g*d knows why. Anyway, building as root (i know, i know, it's not nice) works fine on Debian etch.

Report

C

arminstraub

12 years ago

Karsten Schulz has just sent me an updated Debian package he created for Debian/sid.
I can't try it myself, but I hope this one works for you. Thank you, Karsten!

Report

kamaraju

12 years ago

Yes. It works! Thanks!

Report

mattepiu

12 years ago

Compiling error (~x86 arch):
g++ -O2 -march=athlon-xp -pipe -fomit-frame-pointer -I/usr/kde/3.5/include -I/usr/qt/3/include/ -fPIC -O2 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -DHAVE_UDS_HIDDEN -I. -Ibuild/src -c -o build/src/klocateconfiglocatewidget.os build/src/klocateconfiglocatewidget.cpp
/usr/qt/3/bin/moc -o build/src/kio_locate.moc build/src/kio_locate.h
g++ -O2 -march=athlon-xp -pipe -fomit-frame-pointer -I/usr/kde/3.5/include -I/usr/qt/3/include/ -fPIC -O2 -march=athlon-xp -pipe -fomit-frame-pointer -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -DHAVE_UDS_HIDDEN -I. -Ibuild/src -c -o build/src/kio_locate.os build/src/kio_locate.cpp
build/src/kio_locate.h:187: error: extra qualification 'LocateProtocol::' on member 'processPath'
build/src/kio_locate.cpp: In function 'int kdemain(int, char**)':
build/src/kio_locate.cpp:1017: warning: '__comp_ctor ' is deprecated (declared at /usr/kde/3.5/include/kapplication.h:205)
scons: *** [build/src/kio_locate.os] Error 1
scons: building terminated because of errors.

Report

mattepiu

12 years ago

Fixed by removing just the extra qualifier
"LocateProtocol::"

Report

Hintzy

12 years ago

I loved using kio-locate on my MDV 2005LE box, but when I did a major hardware upgrade and installed MDV 2006 (x86_64), I get this error when I try to run scons:

$ scons configure prefix=/usr
Traceback (most recent call last):
File "/usr/bin/scons", line 143, in ?
import SCons.Script
ImportError: No module named SCons.Script


Any ideas? I've already posted on the Mandriva Club forums about this and have gotten no response. Kio-locate is incredibly useful and I'd love to have it back!

Thanks!
-John

Report

tosta

12 years ago

Can you add a kio-slave for slocate too?

Report

C

arminstraub

12 years ago

If installed, slocate is used automatically since this very version (see ChangeLog). A new kio-slave is therefore not needed.

Of course you can choose in the settings if slocate should be used or not manually as well.

Report

warbinger

12 years ago

Happy Bday Klocate ;)

Report

nsteeves

12 years ago

Hi,

I love kio-locate, but the tarball for this version seems to be truncated somehow. Output from tar -xzf kio-locate_0.4.4.tar.gz is:

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

Report

C

arminstraub

12 years ago

I have uploaded the tarball again (the last upload was only partial because my modem connection broke). Thanks for pointing me to this issue! Hope it works now!

Report

dansmug

12 years ago

It does! :-)

Report

maarizwan

12 years ago


bash-3.00# scons configure prefix=/opt/kde
scons: Reading SConscript files ...
** installation prefix for the project set to: /opt/kde
Checking for kde-config : kde-config was NOT found in your PATH
Make sure kde is installed properly
(missing package kdebase-devel?)
bash-3.00# PATH=$PATH:/opt/kde/bin
bash-3.00# export PATH=$PATH:/opt/kde/bin
bash-3.00# scons configure prefix=/opt/kde
scons: Reading SConscript files ...
** installation prefix for the project set to: /opt/kde
Checking for kde-config : kde-config was found as /opt/kde/bin/kde-config
Checking for kde version : 3.4.92
Checking for the qt library : qt is in /usr/lib/qt
Checking for uic : uic was found as /usr/lib/qt/bin/uic
Checking for moc : moc was found as /usr/lib/qt/bin/moc
Checking for the qt includes : ok /usr/lib/qt/include/
Checking for the kde includes : ok /opt/kde/include/
Checking KDE for UDS_HIDDEN : yes
bash-3.00# scons -c install
scons: Reading SConscript files ...
mkdir -p /opt/kde/share/doc/HTML/en/kio-locate/ && cd /opt/kde/share/doc/HTML/en/kio-locate/ && rm -f common && ln -s ../common common
scons: done reading SConscript files.
scons: Cleaning targets ...
scons: done cleaning targets.

Report

maarizwan

12 years ago

Thank you very much for kio-locate, I love it and I really want to have kio-locate for easier information access.

I'm using KDE 3.5beta2, and it is not getting installed.

compiled using "scon -c" and "scons -c install", but it is showing only 1 line.

Version 0.4.4 is corrupt or bad archive.

Report

poisoned

12 years ago

http://www.kde-apps.org/content/download.php?content=17201&id=1

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

Report

12 years ago

kio-locate (0.4.5) 2006-02-05 -- Armin Straub

* Search hits with non-ascii characters in the file name always showed up
with invalid size/owner/group information (fixed by Johan Billing).
* kio-locate should now compile with gcc-4.1_beta (fixed by Jan Jitse
Venselaar).
* Updated to bksys 1.5.1.


kio-locate (0.4.4) 2005-10-19 -- Armin Straub

+ Warn if locate (or whatever is selected) is not installed (suggested
by Axel K. Braun).
* Use slocate and rlocate as default when available (suggested by Nicolas
Degand).
* Closed a bug preventing the display of items having the same prefix
(reported by Takis).

product-maker aspotashev Jul 21 2011

product-maker 94 345

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling me
Details
license
version
0.4.5
updated Oct 20 2005
added Oct 21 2004
downloads today
0
page views today 13