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

location of knotes data in default config

Tags: None
(comma "," separated)
User avatar
onesandzeros
Registered Member
Posts
12
Karma
0
OS
Hello all,

Some months ago I had this problem: viewtopic.php?t=120712 . I mostly recovered from that, and continued to backup my ~/.kde4 directory. I've reinstalled my OS in the last few days, but now I'm not sure that extracting the content of the notes.ics file is getting the notes I've made since that time. Fortunately, I have other dirs such as ~/.local.

If I look at my current knotes config, it's using a collection called Local Notes. In System Settings -> Personal Information, I see an entry for this, and it's apparently using the path ~/.local/share/akonadi_akonotes_resource_3 . But nothing is in there. I've tried making a few test notes, but nothing appears in that directory. Is it in a mysql data file somewhere? Any hints would be appreciated. I don't care what format it's in, even if it's buried in some binary format, I'll try looking at it to see what notes I'm missing.

Thanks!
User avatar
lloncosky
Registered Member
Posts
6
Karma
0
I have the same type thing going on here, I have made a note resource in ~/.local/share/notes/knotes and have several test notes but nothing appears in the folder.

Hold on, I just discovered a hidden folder there that does have one of my test notes but not all ??? Anyway, check for hidden folders where the Akonadi resource points too.
hugolia
Registered Member
Posts
2
Karma
0
I have recently bought a new larger disk for my notebook.
I have succesfully recovered all my important data from the old disk... but i've lost a hundred knotes.

I am searching everywhere and still didn't have a clue where are the notes stored on the filesystem.
There is also no reference, procedure, or howto about how to backup the knotes or the akonadi-notes-collections.

I don't understand why there is such secrecy about this.

Has anybody succeded recovering Knotes data?
User avatar
onesandzeros
Registered Member
Posts
12
Karma
0
OS
Unfortunately I did not. I manually got the text out of the ics file that I mention in my original post, then I installed Xpad and pasted it in there.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
They should be in $HOME/.local/share/notes.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
piedro
Registered Member
Posts
374
Karma
1
OS
During my installations the default akonote ressource often added a faulty doubleslash "//" like so "~/.local/share//notes/UL92YUisZX" - you have to correct that.
This might only happen when kjots is also installed - I do not know...

everytime you edit the akonadi ressource the "//" doubleslash might be added again - be aware and change either in the ressource-config file or make sure that after checking the settings of the akonadi ressource via GUI you press "cancel" and do not confirm with "OK"... it's fiddly...

If this is correctly set the hidden note containing folder then is:

~/.local/share//notes/.UL92YUisZX.directory/[chosen-note-folder-from knotes-UI-Settings]/new

check there, anything else won't work in my experience...

piedro
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
Can you file a bug about the double slash issue?


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
piedro
Registered Member
Posts
374
Karma
1
OS
Sry, not at the moment.

I am not sure whether any of this still applies to the version 4.14.5 of kjots and knotes. I would have to do some testing again to correctly describe that and I do not want to touch anything related to these akonadi ressources. It's working kind of at the moment and on ARCH KDE is transitioning to Plasma 5, so a lot of things are a bit messed up ...

I will wait until I can see where it is going heading towards KDE 5, probably the paths will change anyway like they do with lots of the configuraton files.
But if this is still relevant in a few month, I will...

I always submit bug reports, if I am sure it's a bug and I can reproduce it,
cheers, piedro

A related bug: https://bugs.kde.org/show_bug.cgi?id=339504


Bookmarks



Who is online

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