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

pim apps without db (baloo, akonadi ecc.)

Tags: None
(comma "," separated)
sacarde
Registered Member
Posts
149
Karma
0
hi,
in kde 4.14 is possible to use pim apps (kmail, kalarm ...)
without activate semantic research ?

and stop baloo/akonadi ?




thank you
wolfi323
Registered Member
Posts
1129
Karma
11
OS
sacarde wrote:in kde 4.14 is possible to use pim apps (kmail, kalarm ...)
without activate semantic research ?

Yes.
Actually there is no "semantic research" (I suppose you mean Nepomuk with that) in KDE 4.14 any more... ;)

and stop baloo/akonadi ?

You don't need baloo for KDEPIM. Baloo is a *file* indexer.
So yes, you can stop/turn off/uninstall that.

Current KDEPIM apps do need Akonadi though, and won't work without it, because it's Akonadi that provides the actual data storage.
Note that Akonadi is no indexer (and also no semantic search), it is a framework for storing/managing PIM data.

And yes, Akonadi needs a database for its cache. You can choose between sqlite, mysql, and postgresql though, and in the case of the latter two can also use an already running system daemon e.g. or a remote "server".

PS: there is an indexer for PIM data too called "baloo-pim", but you don't need that if you don't want indexed search. If your distribution allows it you can just uninstall it, or you can disable it.
sacarde
Registered Member
Posts
149
Karma
0
- when I start kmail, a lot of akonadi tasks are started:

sacarde2 10253 0.0 0.8 412988 33800 ? Sl 16:42 0:00 /usr/bin/akonadi_control
sacarde2 10257 0.0 1.2 2684024 47188 ? Sl 16:42 0:00 akonadiserver
sacarde2 10319 0.0 1.0 585504 38008 ? Sl 16:42 0:00 /usr/bin/akonadi_akonotes_resource --identifier akonadi_akonotes_resource_0
sacarde2 10320 0.0 1.6 1027224 62612 ? Sl 16:42 0:00 /usr/bin/akonadi_archivemail_agent --identifier akonadi_archivemail_agent
sacarde2 10323 0.0 1.0 669756 39624 ? Sl 16:42 0:00 /usr/bin/akonadi_birthdays_resource --identifier akonadi_birthdays_resource
sacarde2 10327 0.0 0.9 576004 37564 ? Sl 16:42 0:00 /usr/bin/akonadi_contacts_resource --identifier akonadi_contacts_resource_0
sacarde2 10328 0.0 1.1 674540 41820 ? Sl 16:42 0:00 /usr/bin/akonadi_followupreminder_agent --identifier akonadi_followupreminder_agent
sacarde2 10329 0.0 1.2 674024 46844 ? Sl 16:42 0:00 /usr/bin/akonadi_ical_resource --identifier akonadi_ical_resource_0
sacarde2 10332 0.0 1.1 610496 44960 ? SNl 16:42 0:00 /usr/bin/akonadi_indexing_agent --identifier akonadi_indexing_agent
sacarde2 10333 0.0 1.7 768044 66404 ? Sl 16:42 0:00 /usr/bin/akonadi_maildir_resource --identifier akonadi_maildir_resource_0
sacarde2 10337 0.0 1.0 809932 39052 ? Sl 16:42 0:00 /usr/bin/akonadi_maildispatcher_agent --identifier akonadi_maildispatcher_agent
sacarde2 10338 0.0 1.6 1101108 63848 ? Sl 16:42 0:00 /usr/bin/akonadi_mailfilter_agent --identifier akonadi_mailfilter_agent
sacarde2 10341 0.0 0.9 576016 37604 ? Sl 16:42 0:00 /usr/bin/akonadi_migration_agent --identifier akonadi_migration_agent
sacarde2 10343 0.0 1.0 609824 39944 ? Sl 16:42 0:00 /usr/bin/akonadi_newmailnotifier_agent --identifier akonadi_newmailnotifier_agent
sacarde2 10344 0.0 1.6 873760 62248 ? Sl 16:42 0:00 /usr/bin/akonadi_sendlater_agent --identifier akonadi_sendlater_agent


is OK ?


- this is default path of local maildir ?
~/.local/share/akonadi_maildir_resource_0
wolfi323
Registered Member
Posts
1129
Karma
11
OS
sacarde wrote:is OK ?

Looks ok, yes.

But it depends on what resources you have configured.
Basically each one starts its own process, akonadi_something_resource_x.

- this is default path of local maildir ?
~/.local/share/akonadi_maildir_resource_0

Maybe, maybe not.
This can be configured for each maildir resource separately to whatever you like.

The default for the standard maildir resource should be ~/.local/share/local-mail/ though I think.
sacarde
Registered Member
Posts
149
Karma
0
wolfi323 wrote:
sacarde wrote:is OK ?

...
But it depends on what resources you have configured.
Basically each one starts its own process, akonadi_something_resource_x.
...


only for kmail all those processes !!





p.s.
I am looking for a simple kmail.... like kmail in kde-3.5
wolfi323
Registered Member
Posts
1129
Karma
11
OS
sacarde wrote:only for kmail all those processes !!

So what?
The number of processes should not really matter to you, I'd say.

Those processes are not only for kmail though, but also for KOrganizer, KAddressbook, and so on.

I am looking for a simple kmail.... like kmail in kde-3.5

Well, then use kmail 3.5 (or KDE 3.5 for that matter).

Btw, Akonadi is being rewritten from scratch at the moment, without a need for a central server or database.
But that will still need some time.
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
Do you actually have issues with it?
Why do you care whether the program starts a few processes in the background? Processes are cheap.


I'm working on the KDevelop IDE.
sacarde
Registered Member
Posts
149
Karma
0
wolfi323 wrote:You can choose between sqlite, mysql, and postgresql


in systemsettings ?



...
Btw, Akonadi is being rewritten from scratch at the moment, without a need for a central server or database.
But that will still need some time.


ok, very well
wolfi323
Registered Member
Posts
1129
Karma
11
OS
sacarde wrote:
wolfi323 wrote:You can choose between sqlite, mysql, and postgresql


in systemsettings ?

Yes and no.
The Akonadi server settings are not shown in systemsettings directly any more (they were in earlier versions), but you can start the configuration module by running:
Code: Select all
kcmshell4 akonadi_server
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
Notice that changing the backend with an existing system will *trash* the current data. There are no migrations in place if you move from, say, MySQL to SQLite or vice versa.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
sacarde
Registered Member
Posts
149
Karma
0
ok

thanks
wolfi323
Registered Member
Posts
1129
Karma
11
OS
einar wrote:Notice that changing the backend with an existing system will *trash* the current data.

Not really.
The database is just a cache, the data is stored elsewhere.
Although in my experience you might have to manually synchronize the resources in akonadiconsole after the switch.

And data that has not been synchronized yet for some reason (e.g. because of an error when trying to write it to the actual storage) might indeed only exist in the database...
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
I meant the data stored within Akonadi, not the resource-specific data. ;) This is the main reason the control panel was removed in the KF5 port, because it was fairly too easy to break existing setups.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python


Bookmarks



Who is online

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