Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Setting up extension to work with Joplin as a Flatpak package #28

Closed
AmrEldib opened this issue Jan 7, 2022 · 2 comments
Closed

Comments

@AmrEldib
Copy link

AmrEldib commented Jan 7, 2022

Just wanted to document this solution to a problem I ran into. Please add it to the documentation or FAQ if it's interesting.

On Linux, Joplin is available as a Flatpak package. When setting up the joplin-vscode-plugin with Joplin installed as a flatpak package, it will fail with a 500 error because of flatpak sandbox restrictions.

The solution is to set up Joplin to work correctly with VS Code as an external editor. Here's forum discussion on Joplin flatpak and external editors.
Go to Joplin > Options > General, and use the following parameters:
Path: /bin/flatpak-spawn
Arguments: --host /usr/bin/code --wait
I hope this is helpful. Thanks for a useful extension!

@rxliuli
Copy link
Owner

rxliuli commented Apr 10, 2022

An important change is currently being implemented, and in the future, access to notes and resources will be completely through the data api, no longer relying on the limitation of opening external editors in joplin itself, please use this post to track a change that requires joplin itself: https://discourse.joplinapp.org/t/feat-can-resource-api-support-put-function/24690

rxliuli added a commit that referenced this issue Apr 14, 2022
- ref: #35
- ref: #28
- ref: #26
- ref: #3
@rxliuli
Copy link
Owner

rxliuli commented Apr 16, 2022

The latest version 0.7.2 should no longer rely on joplin to set up an external editor, can you help verify this?

https://github.com/rxliuli/joplin-utils/releases/tag/joplin-vscode-plugin%400.7.2

@rxliuli rxliuli closed this as completed May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants