Tomboy – How to Specify the Storage Location for Notes

tomboy

How do I specify the location Tomboy is to use to store the notes? I am on 10.10 (Maverick).

Edit: Somebody posted the right answer but now it seems to have been deleted. From memory: it has to do with editing your /etc/profile with a secret line that causes a new location to be used. Then you reboot. Your old notes will not be transferred over but you can move them over manually from the "hidden" location which is what I did after I deleted the annoying "default" notes. Deleting default notes seems to not have caused disastrous system problems so I think they are just like any other notes. But if you get problems, just don't use Tomboy. To get off Tomboy you can print your notes, courier the papers to a company that will OCR scan them. Then you can then import them into software that is EXPLICIT about the location they are stored. There are probably other ways that probably don't involve paper.

Best Answer

Your Tomboy notes are stored in the directory ~/.local/share/tomboy/. You can change the default directory for your notes by following these instructions.

Open a terminal and then run these commands:

  1. sudo cp /etc/profile /etc/profile.bak

  2. gksudo gedit /etc/profile

  3. Copy and paste this line in the document just opened.

    export TOMBOY_PATH=/path/to/your/directory
    

    This will set up /path/to/your/directory for your Tomboy PATH. Change /path/to/your/directory to whichever directory you want to store your notes.

  4. Log out and log back in and now Tomboy will read the notes saved in that directory.

Do note that the notes already saved in the old directory will not be automatically imported into the new directory. You have to copy over to the new directory yourself.

(source)

Related Question