-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Search first
- I searched and no similar issues were found
What Happened?
I use Logseq on MacOS and Ubuntu with the Zotero integration. Since everything except the API key is stored in config.edn and config.edn is also synced (through git), the problem is that the file locations on both systems are not identical, i.e. if I updated the right location on my Linux machine and sync all files (incl. config.edn), then it won't work on my Mac. If, on the other hand, I use the Mac file locations, I cannot open PDFs from Zotero on my Linux box.
It would be great if config.edn did not store the file location, or made it optional, in which case it (like the API key) has to be provided on each machine.
What is more, the page edn files are also updated whenever you open such a PDF, because the paths are different and part of the Markdown.
Reproduce the Bug
- Set up Logseq with Zotero on Mac
- Set the file location to Zotero's default: https://www.zotero.org/support/zotero_data
- Set up Logseq with Zotero on Linux
- Set up the file location as per Zotero's setup on Linux
- Sync to git from either Mac or Linux
- git pull to the other machine
- See that the PDF does not open because the paths are different
Expected Behavior
Zotero paths unique to each machine, so that:
- You can open files independently from how they are stored locally
- File paths are not hard-coded in the edn files of the pages
Screenshots
No response
Desktop or Mobile Platform Information
Ubuntu 20.04, Logseq 0.9.4
MacOS 10.15, same Logseq version
Additional Context
No response
Are you willing to submit a PR? If you know how to fix the bug.
- I'm willing to submit a PR (Thank you!)