So you just installed KDE 4.3 on Kubuntu Jaunty and would like to explore the new features of
Nepomuk and it's integrated desktop search? But, when you want to enable the desktop search in the Desktop Search configuration applet, Strigi always refuses to start with some error messages? Luckily I've found the solution spread over several comments in a
bug report on launchpad.
First make sure that all required packages are installed. You need these packages:
- sun-java6-bin
- strigi-daemon
- soprano-daemon
- soprano-backend-sesame
- kdebase-runtime
Optional packages:
- kdegraphics-strigi-plugins
- kdesdk-strigi-plugins
- kdepim-strigi-plugins
Update 2009-11-02: With Karmic Koala the steps below are no longer necessary. Just install the packages from above (these are not installed by default) and enable the Strigi Desktop File Indexer in the Desktop Search control module.
Then follow the comment #19 in the bug report:
- As root user edit the file /etc/ld.so.conf and add the line
/usr/lib/jvm/java-6-sun/jre/lib/i386/server
or
/usr/lib/jvm/java-6-sun/jre/lib/amd64/server for 64 bit installations
- Run the command sudo ldconfig.
After that follow the comments #16 and #17:
- Edit the file ~/.kde/share/config/nepomukserverrc and search the line
Used Soprano Backend=redland
In the [main Settings] section.
-
Change this line to:
Used Soprano Backend=sesame2
And finally restart the Nepomuk server:
- Using KRunner (Alt + F2) launch the command
killall nepomukserver
- And then restart the program nepomukserver with KRunner.
Next time you run the Desktop Search settings applet, you should see that the Strigi Desktop File Indexer has started indexing your files. After indexing has finished (this takes some cups of coffee and a pizza) any indexed file is accessible through KRunner. Simply enter the keywords you are looking for and KRunner will show results. Alternatively you could also use the search field in Dolphin.
Followed the instructions above and made a correction for 64 bit...
instead of this line:
/usr/lib/jvm/java-6-sun/jre/lib/i386/server
I used this one:
/usr/lib/jvm/java-6-sun-1.6.0.14/jre/lib/amd64/server
There's probably a snazzy way to get rid of the java version information, but this is the way the directory path to server is set on this machine.
Thank you for the tip on getting search going.
Carl
Se agradece.
I found a solution in the bug report:
sudo ln -s /usr/lib/jvm/java-6-sun/jre/lib/amd64/server/libjvm.so /usr/lib/libjvm.so