A new semantic search engine for the KDE desktop
Untamed Bear in the Wild
After just two months of development, the new semantic search was so stable that the KDE developers decided to include Baloo instead of Nepomuk with KDE Applications 4.13. Anyone who uses KDE SC 4.13 (e.g., with Kubuntu 14.04) is also already using Baloo for searches, provided the appropriate application supports the new semantic search.
Among others, the Kontact programs, the Dolphin file manager, Gwenview, and the Plasma desktop have already made the jump. For the current status, check out the wiki [7]. When a user migrates to KDE Applications 4.13, all existing tags, ratings, and comments are migrated to Baloo. The nepomukbaloomigrator
application is responsible for this.
Bumpy Start
Shortly after the release of KDE Applications 4.13, the number of bug reports increased on Internet forums [8]. It appears that the indexer generates extremely high load on some systems, consuming huge amounts of memory and torturing the hard disk. Unlike Nepomuk, however, Baloo can no longer be disabled.
As a workaround, the developers advise users to exclude the home directory from the search (Figures 2 and 3). Because Baloo exclusively considers your home directory, this is tantamount to disabling indexing. Under certain circumstances, however, two services, baloo_file_cleaner
and baloo_file_extractor
might still run. They blithely generate load on the system and, in certain situations, can even damage existing files and documents.
Users may also want to disable automatic startup for Baloo. On Kubuntu, you just need the following command:
sudo mv /usr/share/autostart/baloo_file.desktop \ /usr/share/autostart/baloo_ file.desktop.backup
Another option would be to open the hidden file $HOME/.kde/share/config/baloofilerc
(Figure 4) and change Indexing-Enabled=true
to false
. Finally, you can also manually stop the indexer [9]:
qdbus org.kde.baloo.file /indexer suspend
However, this command can take down the entire KDE desktop on some systems. Some users have even resorted to desperate measures and replaced the Baloo program files through symlinks to /dev/true
, but that does not seem advisable.
Heated Discussions
If you redirect the links, as shown in Listing 1, you can look forward to some "interesting" side effects. Incidentally, Baloo automatically switches itself off on notebooks running on battery power. The always-on indexer caused heated discussions on the openSUSE mailing list [10]. Jos Poortvliet, a member of the KDE Marketing Working Group was eventually forced to publish a statement in his blog under the title "Teacups and storms!" [11]. He first rejects the accusation that Baloo had not been sufficiently tested.
Listing 1
Kill Baloo
The maintainer Vishesh Handa and many other helpers had done everything possible to deliver a robust search function, Poortvliet said. There had even been a public call for testing before the release [12]. It was thus frustrating to see many people pointing their fingers at the developers. If you do not have time to test, you have to accept the fact that your system is untested. The KDE developers' policy was to publish software if it ran on the systems of all testers.
« Previous 1 2 3 Next »
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Canonical Releases Ubuntu 24.04
After a brief pause because of the XZ vulnerability, Ubuntu 24.04 is now available for install.
-
Linux Servers Targeted by Akira Ransomware
A group of bad actors who have already extorted $42 million have their sights set on the Linux platform.
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.