org.gnome.Notes.svg

Notes

Simple note editor


Help

Storage

Folders

Local

  • ~/.local/share/bijiben
  • ~/.local/share/bijiben/.Trash
  • ~/.cache/tracker

Flatpak

  • ~/.var/app/org.gnome.Notes/data/bijiben
  • ~/.var/app/org.gnome.Notes/data/bijiben/.Trash
  • ~/.var/app/org.gnome.Notes/cache/bijiben/tracker

Cloud

  • OwnCloud notes are stored in notes folder.

To recover notes:

  • Before 3.12 : To backup a local note, move the file from .Trash to its parent folder.
  • After 3.12, you have a trash bin included.

Metadata

GNOME Notes metadata is stored into Tracker.

In Tracker3 the command was changed to tracker3 as does the metadata directory. It's also necessary to inform the database to query metadata from. Use the --database parameter informing which directory database to use (check Folders section above).

Notes

nfo:Note objects.

  • To check all notes

$ tracker sparql -q \
  "SELECT ?urn WHERE { ?urn a nfo:Note ; nie:generator 'Bijiben' ; nie:title ?title }"
  • or

$ tracker sparql -q \
  "SELECT ?title ?source WHERE { ?urn a nfo:Note ; nie:dataSource ?source ; nie:title ?title ; nie:generator 'Bijiben' }"
  • To check some content, replace SOME_CONTENT in below query.

$ tracker sparql -q \
  "SELECT ?urn ?title WHERE { ?urn a nie:DataObject ; nie:title ?title ; fts:match 'SOME_CONTENT' ; nie:generator 'Bijiben'}"
  • To delete a single item given its urn

$ tracker sparql -u -q \
  "DELETE { 'urn:uuid:ca0bb524-c9de-cc04-382e-9b1a1fce8177' a rdfs:Resource }"
  • To delete all notes metadata:

$ for i in `tracker sparql -q "SELECT ?urn WHERE { ?urn a nfo:Note ; nie:generator 'Bijiben' ; nie:title ?title }"`
  do tracker sparql -u -q "DELETE { '$i' a rdfs:Resource }"
  done

Notebooks

nfo:DataContainer objects.

  • Check all notebooks

$ tracker sparql -q \
  "SELECT ?c ?title ?mtime WHERE { ?c a nfo:DataContainer ; nie:title ?title ; nie:contentLastModified ?mtime ; nie:generator 'Bijiben' }"
  • Delete all notebooks: [todo]

Developers

  • Isaque Galdino
  • Pierre-Yves Luyten

Contact

  • You might want to fill in a bug (see below)
  • Or, to contact directly pyluyten, with email or hanging out on irc #gnome-hackers.

Development

Please use the stable releases for production, such as packages, since code in master in not tested enough.

Packages

Packages available in, (ordered alphabetically)

  • Arch
  • Debian
  • Fedora
  • Mageia (will be in Mageia 3, already available in the development version, Cauldron)
  • openSUSE
  • Ubuntu

See Also

Alternatives

You might want something different. Active development with nice people is happening on Gnote and Tomboy applications.

Apps/Notes/Documentation (last edited 2020-08-12 13:14:35 by IsaqueGaldino)