Integrating https://gitlab.com/protesilaos/denote with KDE. Inspired by a previous project, https://git.lneely.de/lkn/denotesrv, designed to make denote work with http://acme.cat-v.org/.
fileitemaction uses completeSuffix() to preserve the full extension. fileTypeFromExtension() recurses on compound extensions to detect frontmatter support from the inner extension. |
||
|---|---|---|
| extractor | ||
| fileitemaction | ||
| lib | ||
| .gitignore | ||
| CMakeLists.txt | ||
| README.md | ||
README.md
kdenote
KDE integration plugins for Denote notes.
Components
- Baloo extractor — KFileMetaData plugin that indexes denote file metadata (title, tags, date, signature) so Dolphin search, KRunner, and Baloo queries work on your notes.
- Dolphin context menu — "Rename with Denote..." action for files that don't yet conform to the denote naming scheme.
- Shared library — Denote filename parsing/building and frontmatter handling (YAML/Org/txt), used by both plugins.
Building
mkdir build && cd build
cmake .. -DBUILD_TESTING=ON
make
make install
Dependencies
- Qt 6
- KDE Frameworks 6 (KFileMetaData, KIO, WidgetsAddons, ECM)
- C++20 compiler
Configuration
If Baloo already indexes your home directory (the default), no configuration is needed — the extractor plugin activates automatically on the next index pass.
To immediately reindex existing notes after install:
balooctl index /path/to/your/notes
Denote filename format
YYYYMMDDTHHMMSS[==signature]--slugified-title[__tag1_tag2].ext
Examples:
20240315T120000--my-daily-note__journal_daily.md20240315T120000==1a--project-plan__work.org
License
GPL-3.0-or-later