Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE 4.13: How to disable baloo file indexing
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Sat Mar 22, 2014 3:20 am    Post subject: KDE 4.13: How to disable baloo file indexing Reply with quote

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
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Sat Mar 22, 2014 12:20 pm    Post subject: Reply with quote

Quote:
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)
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Sat Mar 22, 2014 1:53 pm    Post subject: Reply with quote

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/2013-December/004858.html

I for one will not be sorry to loose strigi, virtuoso and all the RDF-related stuff.
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4565

PostPosted: Sat Mar 22, 2014 3:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Sat Mar 22, 2014 4:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4565

PostPosted: Sun Mar 23, 2014 6:29 am    Post subject: Reply with quote

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
View user's profile Send private message
Goverp
Veteran
Veteran


Joined: 07 Mar 2007
Posts: 1966

PostPosted: Sun Mar 23, 2014 10:31 am    Post subject: Reply with quote

<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
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8931

PostPosted: Sun Mar 23, 2014 10:40 am    Post subject: Reply with quote

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
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3919
Location: Hamburg

PostPosted: Sun Mar 23, 2014 11:30 am    Post subject: Re: KDE 4.13: How to disable baloo file indexing Reply with quote

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
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Sat Mar 29, 2014 12:38 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
proteusx
Guru
Guru


Joined: 21 Jan 2008
Posts: 338

PostPosted: Fri Apr 18, 2014 12:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
KAMIKAZE_
Guru
Guru


Joined: 09 Oct 2003
Posts: 309
Location: Riga, Latvia

PostPosted: Fri Apr 18, 2014 2:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Fri Apr 18, 2014 3:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
proteusx
Guru
Guru


Joined: 21 Jan 2008
Posts: 338

PostPosted: Fri Apr 18, 2014 4:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Fri Apr 18, 2014 4:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
amauk
n00b
n00b


Joined: 21 Jul 2011
Posts: 4

PostPosted: Fri Apr 18, 2014 4:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
proteusx
Guru
Guru


Joined: 21 Jan 2008
Posts: 338

PostPosted: Fri Apr 18, 2014 5:01 pm    Post subject: Reply with quote

@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
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Fri Apr 18, 2014 6:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
proteusx
Guru
Guru


Joined: 21 Jan 2008
Posts: 338

PostPosted: Fri Apr 18, 2014 7:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
cfgauss
l33t
l33t


Joined: 18 May 2005
Posts: 688
Location: USA

PostPosted: Sat Apr 19, 2014 2:14 am    Post subject: Re: KDE 4.13: How to disable baloo file indexing Reply with quote

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
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8931

PostPosted: Sat Apr 19, 2014 7:33 am    Post subject: Reply with quote

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
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Tue Apr 22, 2014 5:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Tue Apr 22, 2014 5:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Tue Apr 22, 2014 5:27 pm    Post subject: Reply with quote

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"
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Tue Apr 22, 2014 5:29 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum