View previous topic :: View next topic |
Author |
Message |
Voltago Advocate
Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Sat Mar 22, 2014 3:20 am Post subject: KDE 4.13: How to disable baloo file indexing |
|
|
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: | 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 |
|
Back to top |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Sat Mar 22, 2014 12:20 pm Post subject: |
|
|
Quote: | new indexer 'baloo' while 'nepomuk'/'strigi' ... being phased out |
what's that you say
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) |
|
Back to top |
|
|
Voltago Advocate
Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
|
Back to top |
|
|
franzf Advocate
Joined: 29 Mar 2005 Posts: 4565
|
Posted: Sat Mar 22, 2014 3:32 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
Voltago Advocate
Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Sat Mar 22, 2014 4:15 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
franzf Advocate
Joined: 29 Mar 2005 Posts: 4565
|
Posted: Sun Mar 23, 2014 6:29 am Post subject: |
|
|
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/ |
|
Back to top |
|
|
Goverp Advocate
Joined: 07 Mar 2007 Posts: 2007
|
Posted: Sun Mar 23, 2014 10:31 am Post subject: |
|
|
<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 |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8936
|
Posted: Sun Mar 23, 2014 10:40 am Post subject: |
|
|
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 |
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3922 Location: Hamburg
|
Posted: Sun Mar 23, 2014 11:30 am Post subject: Re: KDE 4.13: How to disable baloo file indexing |
|
|
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) ?
|
|
Back to top |
|
|
Voltago Advocate
Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
|
Back to top |
|
|
proteusx Guru
Joined: 21 Jan 2008 Posts: 338
|
Posted: Fri Apr 18, 2014 12:57 pm Post subject: |
|
|
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: | 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! |
|
Back to top |
|
|
KAMIKAZE_ Guru
Joined: 09 Oct 2003 Posts: 309 Location: Riga, Latvia
|
Posted: Fri Apr 18, 2014 2:39 pm Post subject: |
|
|
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]=- |
|
Back to top |
|
|
Voltago Advocate
Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Fri Apr 18, 2014 3:14 pm Post subject: |
|
|
Code: | USE=-semantic-desktop emerge -N world; emerge --depclean |
should do the trick.
Quote: | I miss the good old KDE-3.5 and the old Kmail. |
Then use them, they're still around as 'trinity desktop'. |
|
Back to top |
|
|
proteusx Guru
Joined: 21 Jan 2008 Posts: 338
|
Posted: Fri Apr 18, 2014 4:04 pm Post subject: |
|
|
Voltago wrote: | Code: | USE=-semantic-desktop emerge -N world; emerge --depclean |
should do the trick. |
You cannot do this if you want Kmail.
Voltago wrote: |
Quote: | 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. |
|
Back to top |
|
|
Voltago Advocate
Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Fri Apr 18, 2014 4:27 pm Post subject: |
|
|
proteusx wrote: | Voltago wrote: | Code: | 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. |
|
Back to top |
|
|
amauk n00b
Joined: 21 Jul 2011 Posts: 4
|
Posted: Fri Apr 18, 2014 4:44 pm Post subject: |
|
|
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: | mv /usr/bin/baloo_file_extractor /usr/bin/baloo_file_extractor.orig; ln -s /bin/true /usr/bin/baloo_file_extractor |
No adverse effects |
|
Back to top |
|
|
proteusx Guru
Joined: 21 Jan 2008 Posts: 338
|
Posted: Fri Apr 18, 2014 5:01 pm Post subject: |
|
|
@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. |
|
Back to top |
|
|
Voltago Advocate
Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Fri Apr 18, 2014 6:48 pm Post subject: |
|
|
Patch to drop soprano and virtuoso (set USE flag -soprano to activate):
Code: | --- /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 |
|
Back to top |
|
|
proteusx Guru
Joined: 21 Jan 2008 Posts: 338
|
Posted: Fri Apr 18, 2014 7:32 pm Post subject: |
|
|
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: | 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: | 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. |
|
Back to top |
|
|
cfgauss l33t
Joined: 18 May 2005 Posts: 688 Location: USA
|
Posted: Sat Apr 19, 2014 2:14 am Post subject: Re: KDE 4.13: How to disable baloo file indexing |
|
|
Voltago wrote: | Code: | USE=-semantic-desktop emerge world -N |
|
If I never want indexing, etc., is there any disadvantage to putting this USE flag into make.conf? |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8936
|
Posted: Sat Apr 19, 2014 7:33 am Post subject: |
|
|
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. |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Tue Apr 22, 2014 5:18 pm Post subject: |
|
|
Code: | 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 |
|
Back to top |
|
|
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Tue Apr 22, 2014 5:23 pm Post subject: |
|
|
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: |
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" |
|
Back to top |
|
|
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Tue Apr 22, 2014 5:27 pm Post subject: |
|
|
Lol, seems like DaggyStyle was a little bit faster than me. We need a solution for this mess _________________ "Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction" |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Tue Apr 22, 2014 5:29 pm Post subject: |
|
|
Martux wrote: | Lol, seems like DaggyStyle was a little bit faster than me. We need a solution for this mess |
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 |
|
Back to top |
|
|
|