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

man akonadictl?

Tags: None
(comma "," separated)
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

man akonadictl?

Mon Feb 15, 2010 2:09 pm
While annew is trying her best to keep up with the flood of kontakt/akonadi related queries I thought I'd best not distract her... Anyroad, kudos to your dedication and patience :)

What I haven't found yet is something like a man page or an explanation of what is put where. References are constantly made to ~/.local/share so I gather that stuff is being put there.

I also checked http://userbase.kde.org/Akonadi but again no mention as to what is put where - and I'd like to know 'cos I'm in the habit of backing things up.

Soooo, anybody know where pim data is being stored? I'm totally confused 'cos of lack of serious info...

Many thanks in advance.


Debian testing
User avatar
annew
Manager
Posts
1155
Karma
11
OS

Re: man akonadictl?

Mon Feb 15, 2010 7:02 pm
toad: I also realised that I'm not clear on these issues. As far as I can tell, the data is stored as it was before in std.vcf,but also in single vcf files under ~/.local/share/contacts. It appears that this is where the work is being done. For instance, I created a subfolder to hold a particular group of contact. It appeared to be a subfolder of the traditional addressbook, not the slimmed-down one that had been installed as an akonadi resource. To my surprise, though, I found that a folder had been created under ~/.local/share/contacts/. Entering the folder I found that it contained one file, named WARNING_README.txt. That contained

<quote>
Important Warning!!!
Don't create or copy vCards inside this folder manually, they are managed by the Akonadi framework!
</quote>

Then again, I created a new record in, as I thought, the traditional addressbook yesterday. Checking by date I can see that it appears in ~/.local/share/contacts but searching doesn't reveal it in the old std.vcf. Maybe the new one is all we need to back up?

I also have been backing up my old addressbook daily. I think that I must now add ~/.local to the backup. I will ask the developers whether all akonadi handled information will go here when kmail and korganizer join the party. If so, adding a single directory to the backup plan is all we'll need. But I agree, we need this made clear.


annew, proud to be a member of KDE forums since 2008-Oct and a KDE user since 2002.
Join us on http://userbase.kde.org
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

Re: man akonadictl?

Mon Feb 15, 2010 8:04 pm
Brilliant annew! It'd be so nice to be able to backup kde settings, pim info and whatever else separately and easily. Not that it wasn't possible before, but quite a pain with stuff being stored to different parameters (read all over the place).

As for your experience: Very educational ;) I found ~/.local/share/contacts/ very interesting myself and do not care to break the DO NOT TOUCH maxim you quoted ;)

Once I managed to get kontact working with its components I started with no contacts at all, so added ye olde ~/.kde4/share/apps/kabc/std.vfc. On restarting kontact they appeared but I had no write access. In retrospect I must say that I didn't even consider it a rights issue although now it appears to make sense.

Anyway, this forum (prolly you) suggested looking at akonadi from CLI - that made sense to me seeing that the mask in systemsettings had automagically disappeared in 4.4 ;)

I liked akonaditray to get into the gui for akonadi (right click), deleted all the std.vcf stuff, searched for the largest file in ~/.local/share/contacts/ and took it from there. So far it appears to work, once again all my contacts are there :) Let's see whether the next write/save throws any light on the issue (am not at my desktop at the mo). I just discovered the very basic ls -d, so will keep a check on that as well if necessary.


I am looking forward to your findings :)


Debian testing
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

Re: man akonadictl?

Tue Feb 16, 2010 8:50 pm
Update from the desktop - on which I added the largest file in ~/.local/share/contacts/ as akonadi's address book resource.

Everything is fine and I can change addresses, do whatever :)

Now how would I get my mail there as well? Just copy the mail folders from ~/.kde4/share/apps/kmail over?


Debian testing
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: man akonadictl?

Wed Feb 17, 2010 6:23 am
KMail does not use Akonadi for mails in KDE 4.4. The migration and other details are still being worked on for 4.5.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

Re: man akonadictl?

Wed Feb 17, 2010 7:27 am
Ah, right. I'll forget about it 'til then.

I did have akonade set up properly - I forget - KDE4.2? But after that, phht...

Great to see it come together slowly, even if it is a difficult birth.


Debian testing
User avatar
Vistaus
Registered Member
Posts
109
Karma
0
OS

Re: man akonadictl?

Wed Feb 24, 2010 6:08 pm
bcooksley wrote:KMail does not use Akonadi for mails in KDE 4.4. The migration and other details are still being worked on for 4.5.


If KMail doesn't use Akonadi for mails, then why does it autostart when starting KMail? And why can't you remove Akonadi because it will delete KMail?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: man akonadictl?

Thu Feb 25, 2010 5:32 am
In KDE 4.4, the KDE PIM suite uses Akonadi for your address book, making it a hard requirement.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], Sogou [Bot]