where everywhere the tomboy app stores the note

Asked by Strubeli

I read in the internet that tomboy default directory is found under ~/.local/share/tomboy.
I wrote me a simple application which automatically encrypts the <note-content>-tag for all notes inside this directory.
After that I start the sync with the ubuntu one. I receive the information that the new notes are sucessfully sync'ed.

When I log me in to my ubuntu one side I see the note in its original plain format and not encrypted as I see it on my local directory. My questions is therfore where does the Tomboy app stores the notes for the sync with the ubuntu one, webDEV and SSH?

Any help on that is very much appricated.

Regards

St

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu tomboy Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
mycae (mycae) said :
#1

Here is the code in question:

http://git.gnome.org/browse/tomboy/tree/Tomboy/Tomboy.cs

  static string GetNotePath (string override_path)
  {
   // Default note location, as specified in --note-path or $TOMBOY_PATH
   string note_path = (override_path != null) ?
           override_path :
           Environment.GetEnvironmentVariable ("TOMBOY_PATH");
   if (note_path == null)
    note_path = Services.NativeApplication.DataDirectory;

   // Tilde expand
   return note_path.Replace ("~", Environment.GetEnvironmentVariable ("HOME")); // TODO: Wasted work
  }

You can check out a full copy of tomboy's source with
apt-get source tomboy

You need to have the source repositories enabled in the "software sources" .

Can you help with this problem?

Provide an answer of your own, or ask Strubeli for more information if necessary.

To post a message you must log in.