Desktop Search configuration in KDE System Settings.
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:

  1. 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

  2. Run the command sudo ldconfig.

After that follow the comments #16 and #17:

  1. Edit the file ~/.kde/share/config/nepomukserverrc and search the line

    Used Soprano Backend=redland

    In the [main Settings] section.

  2. Change this line to:

    Used Soprano Backend=sesame2

And finally restart the Nepomuk server:

  1. Using KRunner (Alt + F2) launch the command

    killall nepomukserver

  2. And then restart the program nepomukserver with KRunner.

KRunner is nicely integrated with the desktop search.
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.


Twitter Bookmark KDE 4.3: Enable Desktop Search in Kubuntu 9.04  at del.icio.us Facebook Google Bookmarks Digg KDE 4.3: Enable Desktop Search in Kubuntu 9.04 Bookmark KDE 4.3: Enable Desktop Search in Kubuntu 9.04  at YahooMyWeb

Trackbacks


Trackback specific URI for this entry
    No Trackbacks

Comments


    #1 Gregor on 08/05/09 at 06:07 PM [Reply]
    *Thanks so much for this short howto. It works like a charm now - and I was missing desktop search in kde a lot!
    #2 Carl on 08/16/09 at 07:36 AM [Reply]
    *With the complaining about Strigi, I was skeptical. Got Nepomuk/Strigi going in 4.2. Wasn't working in 4.3.

    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
    #2.1 Carsten Schlipf on 12/08/09 at 11:22 AM [Reply]
    *Use /usr/lib/jvm/java-6-sun/jre/lib/amd64/server/ to avoid the version in the path.
    #3 ItsAMe on 08/18/09 at 12:18 PM [Reply]
    *Thank You for this HowTo! Worked great for me under Kubuntu 9.04!
    #4 kanibalv on 08/25/09 at 05:25 AM [Reply]
    *Thanks you..

    Se agradece.
    #5 progmanos on 09/20/09 at 03:52 PM [Reply]
    *I tried the above solution but I received the error filed at https://bugs.launchpad.net/ubuntu/+source/java-common/+bug/334186

    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
    #5.1 Carsten Schlipf on 12/08/09 at 11:25 AM [Reply]
    *I recommend to add /usr/lib/jvm/java-6-sun/jre/lib/amd64/server to /etc/ld.so.conf
    #6 Daniel André on 10/29/09 at 01:13 PM [Reply]
    *Great how-to! Thanks for showing me how to finally enjoy desktop search in kde 4.3 :-)

Add Comment

HTML-Tags will be converted to Entities.
Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA