This forum has been archived. All content is frozen. Please use KDE Discuss instead.

how do I disable baloo from indexing my mails ?

Tags: None
(comma "," separated)
ninjan
Registered Member
Posts
5
Karma
0
Hi,

How can I erase the existing baloo index ?

How do I stop baloo from indexing my emails ? This is highly annoying behaviour, takes resources and disk space, shortens my ssd life.

I even tried to disable baloo altogether as explained in the following bug reports but baloo still runs and still indexes my emails.
https://bugs.kde.org/show_bug.cgi?id=331932
https://bugs.kde.org/show_bug.cgi?id=332195

Code: Select all
%ps faux |grep aloo                                                                  2015-10-20 23:09:07
user      5203  0.0  0.0  10732  2264 pts/5    S+   23:09   0:00      \_ grep --color=auto aloo
user      5196 84.5  0.2 5529060 47340 ?       SNl  23:09   0:01 /usr/bin/baloo_file
user      5200  0.0  0.2 5751324 41492 ?       SNl  23:09   0:00  \_ /usr/bin/baloo_file_extractor
% balooctl disable                                                                    2015-10-20 23:09:10
Disabling the File Indexer
% ps faux |grep baloo                                                                  2015-10-20 23:09:45
user      5218  0.0  0.0  10732  2120 pts/5    S+   23:09   0:00      \_ grep --color=auto baloo
user      5196 17.4  0.2 5529060 47408 ?       SNl  23:09   0:01 /usr/bin/baloo_file
user      5200 54.0  0.4 5762268 73624 ?       RNl  23:09   0:04  \_ /usr/bin/baloo_file_extractor


please help me before I throw away the baby, the bath, the bathroom, burn down the house and install windows 10 which will no doubt infuriate me less a lot less than this.

thanks.

I'm using arch linux 64 bits up to date.
User avatar
vHanda
KDE Developer
Posts
84
Karma
0
OS
Just kill it after disabling. Ideally it should kill itself, but it's clearly stuck or something. `balooctl disable` erases the index. Also Baloo does not index your emails.
ninjan
Registered Member
Posts
5
Karma
0
thanks for the quick answer.

baloo is disabled from the system settings so it should not be running in the first place.

in the mean time I've found ~/.local/share/baloo/index and deleted it.

If baloo doesn't index my emails, then which program does ?

Because something obviously does and sorry if I'm mistaken but everything points to baloo, it is the only program I know that index things, the krunner plugin list show "desktop search" with the baloo icon and caption says "searches through files, emails ...", then there is this:

Code: Select all
%ll ~/.local/share/baloo
*snip*
drwxr-xr-x 2 user users 4.0K Oct 20 22:31 email
*snip*


Code: Select all
 % akonadictl restart
*snip*
akonadi_baloo_indexer(8131): "DatabaseLockError" "DatabaseLockError: Unable to get write lock on /home/user/.local/share/baloo/email/: already locked"
*snip*


lastly there is the baloo documentation that says:

At its core it is a set of 3 services:

Data Stores
Search Stores
Relations

*snip*

A Search Store is a plugin which provides search capabilities for a specific kind of data. *snip* At this moment there are 3 search stores that have been implemented -

File Search
Email Search
Contact Search
ninjan
Registered Member
Posts
5
Karma
0
ninjan wrote: How do I stop baloo from indexing my emails ?
(...)
If baloo doesn't index my emails, then which program does ?


answering myself here as it seems again that nepomuk/akonadi/baloo question do not get helpful answer.

so my solution is one I found from this thread[1] on the arch linux boards:


pekka wrote:My solution.

uninstall nepomuk

Disable Baloo
put your home dir in the blacklisting box in System Settings -> Desktop Search.

Disable Akonadi
Kdepim programs stop workin,i dont use any.
~/.config/akonadi/akonadiserverrc
StartServer=true >> StartServer=false

and optionary,be careful(del)

~/.kde4/share/config/(kresources)
~/.kde4/share/apps/(akonadi_migration_agent,kress-migration,korganizer)
~/.local/share/(akonadi,baloo,contacts,local-mail)

and reboot.


alexzk wrote:sudo chmod -x /bin/baloo_file_extractor


This probably means I have to stop using kmail, but so be it.

it has been so buggy and inconsistent for a while no, today kmail redownloaded my whole imap account or ~3GB over a 512kbps connection rendering the whole internet useless for everybody for a half day, I was unable to read or send emails while in the end losing information about read mails (all emails in my inobx were marked unread), one folder was wrongly marked containing overs 4000 unread emails while it actually had 18 read emails. This is the third time this kind of nonsense happened in a few months. I've removed the account and adding it back, I made a brand user account but still this highly unwanted behavior still happens.
Not to mention this other account that kmail refuses to check complaining about an akonadi database error about duplicate entries.

Hopefully this will not break other kde components systemd style, but if it does, well maybe it's time to ditch kde for something that actually works until this horrible mess is finally fixed, if it is one day.

[1]: https://bbs.archlinux.org/viewtopic.php?id=180313


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]