How to Desktop Search in Ubuntu Intrepid
A Guide to Using KDE 4.2 To Facilitate Desktop Searc on Ubuntu
1. You will need to use the Ubuntu RepoGen Tool at http://repogen.simplylinux.ch/ to get the KDE 4.2 repos. After adding KDE 4.2, you can upgrade it by entering the following command in the terminal:
sudo apt-get update && sudo apt-get upgrade
NOTE: The terminal can be opened by clicking the Applications button followed by Accessories and then Terminal.
2. Obtain the necessary files and packages for compiling soprano. You may have some of the packages already. Enter the following command into the terminal to get the necessary packages:
sudo apt-get install libqt4-dev openjdk-6-jre openjdk-6-jdk build-essential cmake subversion qmake strigi-utils
3. Next, obtain the necessary sources. To do this, run the following command to create a kdesupport folder and fetch needed sources:
svn co svn://anonsvn.kde.org/home/kde/tags/kdesupport-for-4.2/kdesupport
4. Now that you have all the needed sources, you will need to compile and install these sources. Enter the following command into the terminal to create a build folder:
cd kdesupport/soprano
mkdir build
cd build
5. After that, enter the following command into the terminal to use OpenJDK to change the path to the JAVA_HOME environment variable:
export JAVA_HOME=/usr/lib/jvm/java-6-openjdk
6. Enter the following command to check the prerequisites:
cmake ..
7. If you have the right prerequisites, you are ready to compile and install soprano. Do this by entering the following command:
make
sudo make install
8. Now you need to configure Nepomuk. To do this, go into the KDE system settings and open the Advanced tab. Once you open the Advanced tab, select Desktop Search. You will need to deactivate Nepomuk. Enter the following command into the terminal to delete the Nepomuk data files:
rm -Rf ~/.kde/share/apps/nepomuk
Enter the following command to edit the configuration file:
nano ~/.kde/share/config/nepomukserverrc
9. You will need to set the new configuration to this:
[Basic Settings]Configured repositories=mainStart Nepomuk=true[Service-nepomukmigration1]autostart=false[Service-nepomukstrigiservice]autostart=true[main Settings]Storage Dir[$e]=$HOME/.kde/share/apps/nepomuk/repository/main/Used Soprano Backend=sesame2rebuilt index for type indexing=true
This code will start Nepomuk and Strigi whenever your computer boots up.
10. You can now go to the Nepomuk Advanced Settings and select the folders you want to have indexed. To search, open Dolphin and enter the following into the bar:
nepomukcsearch:KEYWORD
You can see the search results. Indexing will take a while and you will be able to see the results immediately. You can use the system settings option to see what folder is currently being indexed.
Published by The Armchair Geek
We are a Mid-West PLR Firm specializing in creating powerful web content for clients in a wide array of industries. This is a sampling of some of our IT-focused articles. For more of our work, you can co... View profile
- Automating Ubuntu Backups with TAR and CronHere is a daily script that can be used to backup files automatically using two built-in features of Ubuntu, cron and TAR.
- Automate Ubuntu Backups with Cron and TARDetailed howto article to setup automated backups using built-in features of Ubuntu (TAR and cron).
- Review of Ubuntu Operating SystemUbuntu is a very popular Free / Open-Source operating system. Once you install Ubuntu you can choose to boot into it instead of Windows or Leopard, when your PC or Mac starts up. Why are so many people choosing Ubuntu?
- Best Ubuntu 8.10 ApplicationsThe latest release of Ubuntu offers outstanding software for your desktop PC.
- Make Ubuntu Look and Feel like Mac OS XA lot of people have already tweaked their Ubuntu PCs to look like Macs. But does Ubuntu feel Maclike? And if not, can you make it feel that way? Find out if Ubuntu really can rival Snow Leopard.
- Ubuntu Linux a Powerhouse OS for Everyone
- Ubuntu Storms Linux Community
- How to Upgrade Ubuntu Feisty Fawn to Gutsy Gibbon
- Google, Microsoft Going Head to Head over Desktop Search
- Reasons to Switch to Ubuntu from Microsoft Windows
- Ubuntu Linux - A Brief Overview of the Three Different Versions
- Ubuntu Wins Operating System Wars




