Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

up vote 0 down vote accepted

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)

share|improve this answer
    
After doing this I could no longer log on to Ubuntu in graphical mode. It apparently Unity crashes when loading. –  Luís de Sousa Nov 11 '13 at 18:57

This method has been successfully tested on Ubuntu version 12.04, 13.10 and 14.04:

Open a terminal (Ctrl+Alt+T) and edit the environment file:

sudo gedit /etc/environment

At the end of this file add the following line:

TOMBOY_PATH="/home/user/tomboy"

Where you can replace /home/user/tomboy by any other path where you may wish to store your notes.

Then source the environment file:

source /etc/environment

Finally check if it all went well:

echo $TOMBOY_PATH

You should get back the new Tomboy notes path.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.