Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

KDE 4.13: How to disable baloo file indexing

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
58 posts
  • 1
  • 2
  • 3
  • Next
Author
Message
Voltago
Advocate
Advocate
User avatar
Posts: 2593
Joined: Tue Sep 02, 2003 1:54 pm
Location: userland

KDE 4.13: How to disable baloo file indexing

  • Quote

Post by Voltago » Sat Mar 22, 2014 3:20 am

So KDE 4.13 is looming, and it'll bring a new indexer 'baloo' while 'nepomuk'/'strigi' is still in the process of being phased out apparently. Anyway, the first thing people 'round here are likely to ask is how to turn the darn thing off (I know I did).

Possibility A)
Don't build it.

Code: Select all

USE=-semantic-desktop emerge world -N
works just fine for kde 4.13.0, thanks to Gentoo's tireless KDE herd.
Possibility B)
To just disable file indexing, go to 'System Settings -> Desktop Search' and add your home folder to the list of exempt directories.

Baloo Q&A:
http://forum.kde.org/viewtopic.php?f=154&t=120047

Bug for getting rid of soprano and virtuoso-server:
https://bugs.gentoo.org/show_bug.cgi?id=508040
Last edited by Voltago on Fri Apr 18, 2014 9:57 pm, edited 8 times in total.
Top
albright
Advocate
Advocate
User avatar
Posts: 2588
Joined: Sun Nov 16, 2003 6:36 pm
Location: Near Toronto

  • Quote

Post by albright » Sat Mar 22, 2014 12:20 pm

new indexer 'baloo' while 'nepomuk'/'strigi' ... being phased out
what's that you say 8O

over at KDE they kept saying nepomuk/strigi was the best thing
ever and would soon work flawlessly

I won't miss it but doubt baloo will be much of an improvement

(recoll works good though)
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Top
Voltago
Advocate
Advocate
User avatar
Posts: 2593
Joined: Tue Sep 02, 2003 1:54 pm
Location: userland

  • Quote

Post by Voltago » Sat Mar 22, 2014 1:53 pm

albright wrote:what's that you say 8O
https://www.youtube.com/watch?v=McDgDlnDX0Y#t=2m52s

Alas poor Nepomuk, we hardly knew you... ;)

https://mail.kde.org/pipermail/nepomuk/ ... 04858.html

I for one will not be sorry to loose strigi, virtuoso and all the RDF-related stuff.
Top
franzf
Advocate
Advocate
User avatar
Posts: 4565
Joined: Tue Mar 29, 2005 9:06 am

  • Quote

Post by franzf » Sat Mar 22, 2014 3:32 pm

strigi is out for a while now, was replaced with a simple indexer - 4.11 or 4.12, don't know. And if you read the blog/ML posts you know that the biggest performance killer always was virtuoso, the storage part of the whole semantic desktop implementation kde uses. baloo was done to replace virtuoso, but maybe it will get more with KF5.
Top
Voltago
Advocate
Advocate
User avatar
Posts: 2593
Joined: Tue Sep 02, 2003 1:54 pm
Location: userland

  • Quote

Post by Voltago » Sat Mar 22, 2014 4:15 pm

franzf wrote:strigi is out for a while now, was replaced with a simple indexer - 4.11 or 4.12
Really? It still gets pulled in by kdelibs, so probably not completely out just yet.
Top
franzf
Advocate
Advocate
User avatar
Posts: 4565
Joined: Tue Mar 29, 2005 9:06 am

  • Quote

Post by franzf » Sun Mar 23, 2014 6:29 am

Voltago wrote:
franzf wrote:strigi is out for a while now, was replaced with a simple indexer - 4.11 or 4.12
Really? It still gets pulled in by kdelibs, so probably not completely out just yet.
Wohooo... It was 4.10...
http://vhanda.in/blog/2012/11/nepomuk-without-strigi/
Top
Goverp
Advocate
Advocate
User avatar
Posts: 2402
Joined: Wed Mar 07, 2007 6:41 pm

  • Quote

Post by Goverp » Sun Mar 23, 2014 10:31 am

<rant>
Is it just me, or are there still no applications that actually exploit nepomuk? I wish they'd stop investing in the engine, and instead concentrate on a return on that investment. For example, as far as I can tell, the email search function in KDE PIM has not worked since 4.0. The KDE help function lost its seach because it was going to be replaced by nepomuk et al, but that's never happened. The Find Files function still seems to only use "find" under the covers - it' claims to be able to use an index (slocate at a guess) but that's never worked. AFAIK, the only place where you can use the nepomuk indexes is in Dolphin, and I don't like the way it's done there too much.

And can anyone tell me what end-user functions the semantic desktop actual provides?
</rant>

(Sorry for not knowing how to separate nepomuk, strigi, virtuoso)
Greybeard
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Sun Mar 23, 2014 10:40 am

Actually, the email search function is the number 1 use case for nepomuk. It works amazingly fast, for tens of thousands of mails, and well.

For an incomplete list of applications that use nepomuk, and will be ported to baloo, see: http://community.kde.org/Baloo/NepomukPort
Top
toralf
Developer
Developer
User avatar
Posts: 3944
Joined: Sun Feb 01, 2004 2:58 pm
Location: Hamburg
Contact:
Contact toralf
Website

Re: KDE 4.13: How to disable baloo file indexing

  • Quote

Post by toralf » Sun Mar 23, 2014 11:30 am

Voltago wrote:So KDE 4.13 is looming, and it'll bring a new indexer 'baloo' while 'nepomuk'/'strigi' is still in the process of being phased out apparently. Anyway, the first thing people 'round here are likely to ask is how to turn the darn thing off (I know I did). Short answer: You can't. Long answer: But you can remove all directories from the to-index-list at "System settings -> Desktop Search -> Indexing tab -> Customize folders". You'll probably want to delete the (massive) index at ~/.local/share/baloo too.
What about a dedicated USE flag for users like me to automatically neutralize the KDE search engine (regardless of their names even in future) ?
:-)
Top
Voltago
Advocate
Advocate
User avatar
Posts: 2593
Joined: Tue Sep 02, 2003 1:54 pm
Location: userland

  • Quote

Post by Voltago » Sat Mar 29, 2014 12:38 pm

Turns out the above setting does not work with KDE 4.13 rc1 anymore. More info here:

http://forum.kde.org/viewtopic.php?f=154&t=120047
Top
proteusx
Guru
Guru
User avatar
Posts: 340
Joined: Mon Jan 21, 2008 11:35 am

  • Quote

Post by proteusx » Fri Apr 18, 2014 12:57 pm

I updated to KDE-4.13 today in the hope that Kmail filtering would at last work
properly. Instead I find that on top of the Nepopuke crap* this Hulla-Baloo is
installed and the baloo-file process sends one of the cpus to 100%. Lovely!

I followed the advice above and I excluded /home, /mnt and everything else
I could think of. The system is quieter now but there are new processes like
baloo_file_cleaner and baloo_file_extractor and others that keep
popping up, eating 40+ Mb of memory doing God knows what. According to one of
the commenters this command:

Code: Select all

qdbus org.kde.baloo.file /indexer suspend 

should stop indexing completely. But baloo_file_cleaner,
baloo_file_extractor and company are still running.
May be they are still indexing and summarising my files and send reports to
NSA. I observe with some trepidation the myriads of unwanted processes
(Akonadi, Wallet, sql, Baloo, etc.) that run on my machine gobbling up
resources and wonder which of them will suddenly wake up and bite me.

Why prevent us from disabling all that bloatware?
KDE 4 would be just perfect without all that semantic crapware.

I miss the good old KDE-3.5 and the old Kmail.

* Anything funded by the EU is likely to be useless, a fake and probably nefarious.
Nepomukus never worked; everyone was cursing it and yet it was ramed down our throats willy-nilly.
Very suspicious!
Top
KAMIKAZE_
Guru
Guru
Posts: 309
Joined: Thu Oct 09, 2003 3:56 pm
Location: Riga, Latvia
Contact:
Contact KAMIKAZE_
Website

  • Quote

Post by KAMIKAZE_ » Fri Apr 18, 2014 2:39 pm

please tell me how to disable this baloo-gayloo-craploo. I'm unable to load PyCharm or even do emerge --sync with such load
-=[powered by Gentoo]=-
Top
Voltago
Advocate
Advocate
User avatar
Posts: 2593
Joined: Tue Sep 02, 2003 1:54 pm
Location: userland

  • Quote

Post by Voltago » Fri Apr 18, 2014 3:14 pm

Code: Select all

USE=-semantic-desktop emerge -N world; emerge --depclean
should do the trick.
I miss the good old KDE-3.5 and the old Kmail.
Then use them, they're still around as 'trinity desktop'.
Top
proteusx
Guru
Guru
User avatar
Posts: 340
Joined: Mon Jan 21, 2008 11:35 am

  • Quote

Post by proteusx » Fri Apr 18, 2014 4:04 pm

Voltago wrote:

Code: Select all

USE=-semantic-desktop emerge -N world; emerge --depclean
should do the trick.
You cannot do this if you want Kmail.
Voltago wrote:
I miss the good old KDE-3.5 and the old Kmail.
Then use them, they're still around as 'trinity desktop'.
I was running kde-3.5.10 from kde-sunset until last December.
It was getting impossible to maintain. e.g. qt-3.38 will not compile with
newer versions of patch and make.
i still run some kde-3 apps like khexedit from within kde4.
Top
Voltago
Advocate
Advocate
User avatar
Posts: 2593
Joined: Tue Sep 02, 2003 1:54 pm
Location: userland

  • Quote

Post by Voltago » Fri Apr 18, 2014 4:27 pm

proteusx wrote:
Voltago wrote:

Code: Select all

USE=-semantic-desktop emerge -N world; emerge --depclean
should do the trick.
You cannot do this if you want Kmail.
There doesn't seem to be a portage restriction on building kmail-4.13.0 without the sematic-desktop flag. Is there any functionality you'd loose? You draw in baloo again, not sure if it'll start file-indexing all over the place again all by itself though.
Top
amauk
n00b
n00b
Posts: 6
Joined: Thu Jul 21, 2011 3:28 pm

  • Quote

Post by amauk » Fri Apr 18, 2014 4:44 pm

After upgrade to KDE 4.13, this baloo indexer thing was causing high iowait on my system
I just symlinked it to /bin/true

Code: Select all

mv /usr/bin/baloo_file_extractor /usr/bin/baloo_file_extractor.orig; ln -s /bin/true /usr/bin/baloo_file_extractor
No adverse effects
Top
proteusx
Guru
Guru
User avatar
Posts: 340
Joined: Mon Jan 21, 2008 11:35 am

  • Quote

Post by proteusx » Fri Apr 18, 2014 5:01 pm

@voltago

Last time I looked, kmail depended on kdepimlibs.
kdepimlibs needed neponuke and kdelibs[semantic-desktop]

I will have a look to see if anything has changed in kde-4.13
Thank you for the tip.
Top
Voltago
Advocate
Advocate
User avatar
Posts: 2593
Joined: Tue Sep 02, 2003 1:54 pm
Location: userland

  • Quote

Post by Voltago » Fri Apr 18, 2014 6:48 pm

Patch to drop soprano and virtuoso (set USE flag -soprano to activate):

Code: Select all

--- /usr/portage/app-office/akonadi-server/akonadi-server-1.12.1.ebuild 2014-04-08 16:16:31.000000000 +0200
+++  /usr/portage/app-office/akonadi-server/akonadi-server-1.12.1.ebuild 2014-04-18 23:56:18.050185689 +0200
@@ -22,13 +22,13 @@
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-IUSE="+mysql postgres +qt4 qt5 sqlite test"
+IUSE="+mysql postgres +qt4 qt5 sqlite test soprano"
 
 REQUIRED_USE="^^ ( qt4 qt5 ) || ( sqlite mysql postgres )"
 
 CDEPEND="
        dev-libs/boost:=
-       >=dev-libs/soprano-2.6.51
+       soprano? ( >=dev-libs/soprano-2.6.51 )
        x11-misc/shared-mime-info
        qt4? (
                >=dev-qt/qtcore-4.8.5:4
@@ -96,6 +96,7 @@
                $(cmake-utils_use test AKONADI_BUILD_TESTS)
                $(cmake-utils_use sqlite AKONADI_BUILD_QSQLITE)
                $(cmake-utils_use qt5 QT5_BUILD)
+               $(cmake-utils_use_with soprano SOPRANO)
        )
 
        cmake-utils_src_configure
Last edited by Voltago on Fri Apr 18, 2014 10:01 pm, edited 2 times in total.
Top
proteusx
Guru
Guru
User avatar
Posts: 340
Joined: Mon Jan 21, 2008 11:35 am

  • Quote

Post by proteusx » Fri Apr 18, 2014 7:32 pm

amauk wrote:After upgrade to KDE 4.13, this baloo indexer thing was causing high iowait on my system
I just symlinked it to /bin/true

Code: Select all

mv /usr/bin/baloo_file_extractor /usr/bin/baloo_file_extractor.orig; ln -s /bin/true /usr/bin/baloo_file_extractor
No adverse effects
Excellent tip. Thank you.

I also gave the same treatment to baloo_file_cleaner.

Code: Select all

mv /usr/bin/baloo_file_extractor /usr/bin/baloo_file_cleaner.orig; ln -s /bin/true /usr/bin/baloo_file_cleaner
The baloo malware seems to be asleep now without, as you say, any adverse effects.
Top
cfgauss
l33t
l33t
User avatar
Posts: 793
Joined: Wed May 18, 2005 7:07 pm
Location: USA

Re: KDE 4.13: How to disable baloo file indexing

  • Quote

Post by cfgauss » Sat Apr 19, 2014 2:14 am

Voltago wrote:

Code: Select all

USE=-semantic-desktop emerge world -N
If I never want indexing, etc., is there any disadvantage to putting this USE flag into make.conf?
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Sat Apr 19, 2014 7:33 am

Of course you will lose functionality, depending on the applications you are using, because it is not just about indexing. One example, you will lose the display of kdepim calendar events in plasma-workspace.
Top
DaggyStyle
Watchman
Watchman
User avatar
Posts: 5969
Joined: Wed Mar 22, 2006 6:57 am

  • Quote

Post by DaggyStyle » Tue Apr 22, 2014 5:18 pm

Code: Select all

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by kde-base/nepomuk-core-4.13.0[migrator]
# required by kde-base/kactivities-4.13.0
# required by kde-base/kate-4.13.0
# required by @selected
# required by @world (argument)
=kde-base/baloo-4.13.0 ~amd64
# required by kde-base/kactivities-4.13.0
# required by kde-base/kate-4.13.0
# required by @selected
# required by @world (argument)
=kde-base/nepomuk-core-4.13.0 ~amd64
# required by kde-base/kdepimlibs-4.13.0
# required by kde-base/baloo-4.13.0
# required by kde-base/nepomuk-core-4.13.0[migrator]
# required by kde-base/kactivities-4.13.0
# required by kde-base/kate-4.13.0
# required by @selected
# required by @world (argument)
=dev-libs/libical-1.0-r1 ~amd64
# required by kde-base/baloo-4.13.0
# required by kde-base/nepomuk-core-4.13.0[migrator]
# required by kde-base/kactivities-4.13.0
# required by kde-base/kate-4.13.0
# required by @selected
# required by @world (argument)
=kde-base/kfilemetadata-4.13.0 ~amd64

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by kde-base/kdepimlibs-4.13.0
# required by kde-base/baloo-4.13.0
# required by kde-base/nepomuk-core-4.13.0[migrator]
# required by kde-base/kactivities-4.13.0
# required by kde-base/kate-4.13.0
# required by @selected
# required by @world (argument)
=app-office/akonadi-server-1.12.1-r1 soprano

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.
here we go again!
seriously? devs have updated exiting pkgs instead of creating r## pkgs?

are you kidding me?!?!
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Top
Martux
Veteran
Veteran
User avatar
Posts: 1917
Joined: Fri Feb 04, 2005 9:09 pm

  • Quote

Post by Martux » Tue Apr 22, 2014 5:23 pm

Oh, the horror!
I was a happy camper without all the baloo akonadi whatever crap thanks to this thread, but today's emerge -uaDn @world pulled in this again:

Code: Select all

Calculating dependencies... done!
[ebuild  N     ] dev-libs/xapian-1.2.17  USE="brass chert inmemory sse sse2 -doc -static-libs" 3,092 kB
[ebuild     U  ] sys-libs/readline-6.3_p5-r1 [6.3_p5] USE="-static-libs" ABI_X86="32 (64) (-x32)" 0 kB
[ebuild  N     ] media-libs/raptor-2.0.9:2  USE="curl unicode -debug -json -static-libs" 1,747 kB
[ebuild  N     ] dev-libs/rasqal-0.9.30  USE="mhash pcre xml -crypt -doc -gmp -static-libs {-test}" 1,436 kB
[ebuild  N     ] net-mail/mailbase-1.1  USE="pam" 0 kB
[ebuild  N     ] dev-db/libiodbc-3.52.8-r1  USE="-gtk" 1,161 kB
[ebuild  N     ] dev-db/virtuoso-odbc-6.1.8  114,998 kB
[ebuild  N     ] dev-db/virtuoso-server-6.1.8  USE="readline -kerberos -ldap" 0 kB
[ebuild  N     ] dev-libs/shared-desktop-ontologies-0.11.0  3,875 kB
[ebuild  N     ] dev-libs/libical-1.0-r1:0/1  USE="-doc -examples -introspection -static-libs" 1,172 kB
[ebuild  N     ] app-crypt/gpgme-1.4.3:1/11  USE="-common-lisp -static-libs" 950 kB
[ebuild   R    ] dev-db/mysql-5.5.32  USE="community embedded perl ssl -cluster -debug -extraengine -jemalloc -latin1 -max-idx-128 -minimal -profiling (-selinux) -static -static-libs% -systemtap -tcmalloc {-test}" 0 kB
[ebuild  N     ] dev-libs/redland-1.0.16  USE="berkdb mysql ssl xml -iodbc -odbc -postgres -sqlite -static-libs" 1,587 kB
[ebuild  N     ] dev-libs/cyrus-sasl-2.1.26-r4:2  USE="berkdb gdbm java mysql pam ssl -authdaemond -kerberos -ldapdb -openldap -postgres -sample -sqlite -srp -static-libs -urandom" 5,098 kB
[ebuild  N     ] dev-libs/soprano-2.9.4  USE="dbus raptor redland virtuoso -debug -doc {-test}" 1,913 kB
[ebuild  N     ] app-office/akonadi-server-1.12.1-r1  USE="mysql qt4 soprano -postgres (-qt5) -sqlite {-test}" 246 kB
[ebuild  N     ] kde-base/kfilemetadata-4.13.0:4/4.13  USE="exif ffmpeg pdf taglib (-aqua) -debug -epub -mobi" 35 kB
[ebuild  N     ] kde-base/kdepimlibs-4.13.0:4/4.13  USE="(-aqua) -debug -handbook -ldap -prison {-test}" 2,724 kB
[ebuild  N     ] kde-base/baloo-4.13.0:4/4.13  USE="(-aqua) -debug" 121 kB
[ebuild     U  ] sys-boot/unetbootin-603 [585] LINGUAS="de -am -ar -ast -be -bg -bn -ca -cs -da -el -eo -es -et -eu -fa -fi -fo -fr -gl -he -hr -hu -id -it -ja -lt -lv -ml -ms -nan -nb -nl -nn -pl -pt -pt_BR -ro -ru -si -sk -sl -sr -sv -sw -tr -uk -ur -vi -zh_CN -zh_TW" 735 kB
[ebuild  N     ] kde-base/nepomuk-core-4.13.0:4/4.13  USE="exif ffmpeg migrator pdf taglib (-aqua) -debug -epub" 375 kB

Total: 21 packages (2 upgrades, 18 new, 1 reinstall), Size of downloads: 141,257 kB

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by kde-base/kdepimlibs-4.13.0
# required by kde-base/baloo-4.13.0
# required by kde-base/nepomuk-core-4.13.0[migrator]
# required by kde-base/kactivities-4.13.0
# required by kde-base/plasma-runtime-4.13.0
# required by kde-base/plasma-workspace-4.11.8
# required by kde-misc/kdeconnect-9999::my_local_overlay
# required by @selected
# required by @world (argument)
>=app-office/akonadi-server-1.12.1-r1 soprano


Funny thing, that equery d akonadi-server shows nothing...
What's wrong here?
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Top
Martux
Veteran
Veteran
User avatar
Posts: 1917
Joined: Fri Feb 04, 2005 9:09 pm

  • Quote

Post by Martux » Tue Apr 22, 2014 5:27 pm

Lol, seems like DaggyStyle was a little bit faster than me. We need a solution for this mess :-D
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Top
DaggyStyle
Watchman
Watchman
User avatar
Posts: 5969
Joined: Wed Mar 22, 2006 6:57 am

  • Quote

Post by DaggyStyle » Tue Apr 22, 2014 5:29 pm

Martux wrote:Lol, seems like DaggyStyle was a little bit faster than me. We need a solution for this mess :-D
it seems that this time the only solution might be ditching KDE for good.
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Top
Post Reply

58 posts
  • 1
  • 2
  • 3
  • Next

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic