![]() Registered Member ![]()
|
Hello,
Before upgrading from kubuntu 14.04 to 16.04 I took a complete backup of by folders and files (including hidden) thinking I could copy over data to the new version. I have completely failed to find the folder/file with my knotes in it. Can someone tell me where the knotes data ( the actual text of the notes ) are stored? Thank you very much Roy |
![]() Registered Member ![]()
|
knotes before 4.13 stored the notes in ~/.kde/share/apps/knotes/notes.ics, newer versions use a standard maildir format and store the notes an a subfolder of ~/.local/share/notes/ (the actual location may differ depending on the resource configuration).
You cannot just copy them over, because the format has changed. knotes should migrate them on first start though if the KDE4 kresources are properly set up, i.e. if ~/.kde/share/config/kresources/notes/stdrc exists and points to the notes. It should look similar to this:
The "ResourceName" is arbitrary, the identifier too (should be the same everywhere though). And the NotesURL should point to where the file is really located. You can retrigger the migration by deleting the file ~/.kde/share/config/knotes-migratorrc (or ~/.config/knotes-migratorrc for the KF5 version, but I'm not sure whether that still does the migration at all, nor which version is included in Kubuntu 16.04). Creating new notes and copy/pasting the text from notes.ics manually should work in any case though... ![]() PS: I just noticed that akonadi still comes with an "akonadi_notes_resource", adding such a resource (in akonadiconsole e.g.) and pointing it to the notes.ics file may work too... (haven't tried though) Note that you need to pick the "Notes" resource, not "akonotes" which is the new one. |
![]() Registered Member ![]()
|
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]