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

How are knotes and kjots organized and work?

Tags: None
(comma "," separated)
piedro
Registered Member
Posts
374
Karma
1
OS
Hello again!

The following questions are simply unclear to me, maybe someone can and cares to explain:

- knotes use the akonadi ressource "local notes" which is physically loacted at "~./local/share/notes" and uses one of these unhandy maildir formats with hidden folders and such...

- kjots uses the same akonadi resource? Or is this a coinincidence on my system? What is the desired default here?

- If I create a new note book, and look into the configured maildir folder, no file or hidden subfolder within the hidden subfolder appears. So where is the note? In the akonadi database? Why is there a configured folder then?

- BTW: if you I setup KDE fresh the kjots ressource is set to something like this "~/.local/share/notes//WTRyGF66453" which can't work because of the double slash. This has been like this for years (yes I reported it) but if you delete one slash it seems to work somehow...

- is kjots still developed? All I read when trying to find documentation is really old. If it is not developed anymore should it still be used or has it been replaced by knotes? The latest Gmane posts I find are from 2008... so shoudn't it be removed from default in Kontact or can it still be made to work...?

Could anyone comment on this who really is using it? (I would love to use it - I desperately need a note system, preferrably integrated with KDE)

- can I use knotes in a hierarchical manner? The maildir structure implies I can, but I see no reference to that.... the documentation is a bit sparse and lacks all technical info:
http://www.kde.org/applications/utilities/knotes/
If a hierarchical note structure cannot be established why does knotes use a maildir format in the first place?

Lots of confusion, any help, any ideas?

thx for reading,
piedro
piedro
Registered Member
Posts
374
Karma
1
OS
Neither kjots nor knotes seems to write any notes into the akonadi ressource location.

They create this hard to maintain maildir folder structure but all folders stay empty.

I have no clue where the notes themselves are stored (yes I understand that there are hidden folders involved...)

plz can someone explain: Where are the notes?

p.
sinclair
Registered Member
Posts
226
Karma
0
OS
I use KNotes for a few things, have never used KJots. AFAIK you are correct that KJots is "abandonware" but I may be wrong.

In any case I use Basket that I find way superior. Sadly also abandonware but still very functional - though YMMV
User avatar
google01103
Manager
Posts
6668
Karma
25
piedro wrote:Neither kjots nor knotes seems to write any notes into the akonadi ressource location.

They create this hard to maintain maildir folder structure but all folders stay empty.

I have no clue where the notes themselves are stored (yes I understand that there are hidden folders involved...)

plz can someone explain: Where are the notes?

p.


look in systemsettings -> personal Information -> Akonadi Resources Configuration


OpenSuse Leap 42.1 x64, Plasma 5.x

piedro
Registered Member
Posts
374
Karma
1
OS
That's what I did:
...as I mentioned the "local notes" ressource is set to "*/.local/share/notes/8HGFztDEer" which is where the notes should be, well, exactly they would be in the hidden ".8HGFztDEer.directory" folder corresponding to the akonadi ressource location...

So I like to repeat the question: Where are the notes?

thx, p.

Last edited by piedro on Fri Sep 26, 2014 4:00 pm, edited 1 time in total.
piedro
Registered Member
Posts
374
Karma
1
OS
@sinclair:

Basket has been amazing! Best note management software right after Lotus Organizer (well, not for linux)... For Basket there even have been plans to completely belned into Kontact and integrate with the other KDE PIM programs...

but as you say, if there's no kickstarter, basket is dead and I would like to not start my big mess of scientific notes (that i have to keep around for a while until I am finished) into a program that will run into more and more problems instead of one actively developed...

atm I use evernote online but that feels just bad and isn't integrated in any way, no email-clipin, no timeline creation no interlinking with tasks or mails or contacts ...

thx for your hint anyway,
piedro
User avatar
google01103
Manager
Posts
6668
Karma
25
piedro wrote:<snip>

So I like to repeat the question: Where are the notes?

thx, p.

see my earlier post


OpenSuse Leap 42.1 x64, Plasma 5.x

piedro
Registered Member
Posts
374
Karma
1
OS
@google01103:

Have you read my reply? It's based on the settings you refer to...

p.
User avatar
google01103
Manager
Posts
6668
Karma
25
my notes are in ~/.local/share/notes/ in the "new" subfolder, I have other folders there that are empty including 2 named 5FGzSVur91 & Vr6aONvezR and they are old and I just deleted them


OpenSuse Leap 42.1 x64, Plasma 5.x

piedro
Registered Member
Posts
374
Karma
1
OS
Well, I am glad for you.

For me the akonadi ressource has been set to "~/.local/share/notes/8vhfMdjHM8" automatically.

In KJots there is this structure:
"Local Notes" including the notebook "Test-Notebook" in which there is one note labeled "Urgent Testnote" with the content "This is a test!"

Now here are only two folders in "~/.local/share/notes"
(here a list including subfolders):

One is "8vhfMdjHM8" including:
8vhfMdjHM8 / cur --- this is empty
8vhfMdjHM8 / tmp --- this is empty
8vhfMdjHM8 / new / cur --- this is empty
8vhfMdjHM8 / new / tmp --- this is empty
8vhfMdjHM8 / new /new --- this is empty

The other one is the hidden ".8vhfMdjHM8.directory":
.8vhfMdjHM8.directory / Test-Notebook /cur --- this is empty
.8vhfMdjHM8.directory / Test-Notebook /cur --- this is empty
.8vhfMdjHM8.directory / Test-Notebook /cur --- this is empty

And that's it. Which leaves me with the question:
Where is the note "Urgent Testnote" located in my filesystem (if it doesn't sit somewhere in the database)?

thx, piedro

BTW: I have done relogins to KDE, restarted akonadiserver, reinstalled kjots and deleted the ".local/share/notes" folder completely to have it automatically regenerated with default settings.
User avatar
google01103
Manager
Posts
6668
Karma
25
I would delete the existing note resource in system settings and create a new one to see if that helps

the actual note files on my system are named nnnnnnnnnn.Rnnn.computer_name.site so you could do a search for files named computer_name.site though that could take a while


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
google01103
Manager
Posts
6668
Karma
25
anything in ~/.kde[4]/share/apps/knotes ? that was maybe used by the older version


OpenSuse Leap 42.1 x64, Plasma 5.x

piedro
Registered Member
Posts
374
Karma
1
OS
No, but this location hasn't been used since KDE 4.4 (I think) at least for two years and as I mentioned this is a fresh install.

And I am not talking about knotes alone but also kjots which seems to use the same ressource...

plz post the name of the files to perform the search you mentioned.
What do you mean by "site"...

p.
User avatar
google01103
Manager
Posts
6668
Karma
25
re site: site = "site", it is the the last 4 characters of the file's name (no idea why), but my 2 knotes files end in ".site"

the name of one of my knotes file is ~/.local/share/notes/new/1407416385.R258.circus.site and "circus" is the name I gave to the computer when I set it up


OpenSuse Leap 42.1 x64, Plasma 5.x

piedro
Registered Member
Posts
374
Karma
1
OS
Interesting. I can find notes only without the "circus" part... Mine have the structure "1411989409.R963.site"...
in where "site" is the name of my box ...

I am pretty sure now the culprit here is knotes:

I created another NOtebook within kjots with the name "Test-Notebook-2".
Now for this second notebook the notepages appear in the folder
"~/.local/share/notes/.8vhfMdjHM8.directory/Test-Notebook-2/new"

even when I copy these note-pages within KJots from Test-Notebook-2 to Test-Notebook - still they won't show up AS LONG AS KNOTES USES THIS FOLDER AS COLLECTION...

That's it.
Use different ressources for kjots and knotes and stuff kind of works ...

Still it is ****:
- kjots automatically shows all akonote ressources, even if you want to use one only for knotes

- knotes notes DO NOT SHOW up in the designated akonote folder, kjots notes do - but only in folders not used as knotes collections ...

- trying to create another akonote ressource messes things up more:
---- the default folder is set to "~/.local/share/local-mail", which is clearly not intended because here there are the local mailfolders located
---- even when you do not pull through with creating the akonotes ressource (by hitting the 'abort'- instead of 'ok'- button the folder "local-mail" is still created causing even more confusion (for example if you customized the default local mail folder location to somewhere else...)

So my final assesment here is that knotes and kjot SHOULD NOT BE USED BOTH. Probably we cannot expect funcioning note taking applications that are not developed anymore to catch up with the ever changing akonadi landscape.

I urgently pledge to the KDE responsibles to remove KJots and Knotes from being set up as default kontact apllications.

thx for reading,
piedro


Bookmarks



Who is online

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