Discussion
I don't take notes on the Raspberry Pi, but I do sync my Obsidian vaults from my laptop and phone to it for backup purposes.
Synchronizing
NOTE: You have to have finished Setting up Syncthing on the Raspberry Pi to continue this section. Additionally, I set up Syncthing on the laptop first, as it was easier. During this process I'll set up the Pi as an Syncthing Introducer to make it easier to share the Obsidian vaults between all three devices.
- I'm having trouble with VNC clipboard usage between the Pi's wayvnc server and the laptop's TigerVNC client, so I went oldschool.
- Open an ssh session to the Pi
- type
cat ~/.local/state/syncthing/config.xml | grep 'device id'and look for the entry with what you named your pi. - Copy the device id (highlight the text with the mouse, then right-click the highlight and choose "copy")
- Open the Syncthing web client on the laptop.
- At the bottom right, click "Add Remote Device"
- In the "Device ID" section, paste the Pi's device id
- In the "Device Name" section, type the name you use for your Pi
- Click the "Save" button
- Go to 5. Note-taking and follow those steps.
Previous: 5. Note-taking
Next: 6. Nextcloud