I guess neither Tomboy nor Tracker need much introduction. If you have both of them on your computer, you have probably wondered “why Tracker doesn’t index my Tomboy notes?”. Good point. You are not the only one thinking that; somebody even opened a bug about it and here comes a solution.
It is a plugin for Tomboy (a NoteAddin in their terminology) that writes the information of the note into Tracker making it searchable on the desktop (E.G. using tracker-needle). The code is available in gitorious. Checkout, compile and install (you can use make install-data-local
in src/
to install it on your $HOME). Well, you also need the latest tracker from GIT until we release 0.10.2 (soon) because i needed to add a “Note” class there.
The current status is “It works on my computer” but is safe to try because this plugin only exports data and never touches the original notes, so there is no risk of losing any information. Feedback is very welcome!
I’m using your plugin and Tracker 0.10.4. Indexing works, which is very nice.
However, when I double click a note title in tracker-needle, the Tomboy Note is not displayed and tracker-needle gives me an error:
“(tracker-needle:15408): Tracker-WARNING **: tracker-needle.vala:628: Could not launch application: No application is registered as handling this file”
Something missing on my side or feature not yet implemented ?
@Thomas: Tomboy doesn’t install a .desktop file with the “open a note” action. I wonder if it is ok to install this action from an extension (it should be installed by Tomboy itself). Here is the workaround, create this file:
$ cat /usr/share/applications/tomboy-view.desktop
[Desktop Entry]
Name=Tomboy Notes
Comment=Take notes, link ideas, and stay organized
GenericName=Note-taker
Exec=tomboy --open-note %u
Icon=tomboy
StartupNotify=false
Terminal=false
Type=Application
NoDisplay=true
Categories=GNOME;GTK;Utility;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=tomboy
X-GNOME-Bugzilla-Component=General
X-Ubuntu-Gettext-Domain=tomboy
MimeType=application/x-note
And run
update-desktop-database
.I’ve successfully configured your addin but compilation fails. If you know what to do, please help me.
Ubuntu 10.10 (“up to date”)
mono-gmcs 2.6.7-3ubuntu1
me@netbook:~/Downloads/tomboy-tracker$ make
Making all in src
make[1]: Entering directory `/home/me/Downloads/tomboy-tracker/src’
mkdir -p `dirname TrackerAddin.dll` && /usr/bin/gmcs -debug -target:exe -out:TrackerAddin.dll -debug -define:DEBUG -target:library -r:/usr/lib/cli/NDesk.DBus-1.0/NDesk.DBus.dll -r:/usr/lib/tomboy/Tomboy.exe TrackerNoteAddin.cs TrackerClient.cs TrackerIface.cs -resource:./Tracker.addin.xml
error CS0040: Unexpected debug information initialization error `The assembly for default symbol writer cannot be loaded’
Compilation failed: 1 error(s), 0 warnings
make[1]: *** [TrackerAddin.dll] Error 1
make[1]: Leaving directory `/home/me/Downloads/tomboy-tracker/src’
make: *** [all-recursive] Error 1
Wow! I should test this soon, the idea is great.
Actually i was wondering if I could “port” tomboy / gnote to be a simple note editor. files with “.note” extension would be just like other files, tagged with tracker. Why having a /home/toto/.local/share/tomboy folder? instead the notes could be put everywhere in the file system and opened from there / tracker-needle / gnome shell or whatever