linuxmint / linuxmint/sticky

Allow automatic notes.json-reload when the file has been changed on disc

Open
#154 12 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Request
Dominant language
Python
Stars
273
Forks
57
PR merge metrics
No merged PRs in 30d

Description

For android, there is a companion app to sticky notes, called "styncy notes":
https://gitlab.com/gbygrave/styncynotes

In short: styncy note uses the same file format and look and feel as sticky notes.
The idea is to use e.g. syncthing to sync the notes.json file and to be able to check or edit sticky notes from an android device.

Currently, this works fine - in one direction only: I.e. I can sync and look at my sticky note from my android device.

However, if I update the note on android, the changes do not appear on the desktop after syncing.

  • the file sync itself seem to work fine: the notes.json file is synced and the updated notes.json file can be opened, e.g. with a text editor on my Linux Mint laptop.
  • I did not find a simple solution to reload the updated notes.json file.

Is there a way to trigger a reload of the updated notes.json file from the command line?

Would it be possible to add an option (opt in) to sticky notes to reload a file when the notes.json file has been changed?

Thanks a lot in advance.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating how the desktop app loads notes.json and whether it has command-line entry points for reloading. Done means an opt-in mechanism detects an externally changed notes.json and makes the updated notes available without restarting the app, or provides a documented reload command.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.