Deep Linking or URL Scheme / Allow linking to Logseq pages from outside the app

The founder of Logseq said that the deep linking will be available in the near future. Looking forward to it!

4 Likes

Any news about that ?

Actually this feature would be very usefull. I could e.g. link from Zotero and from Anki back to the corresponding logseq page. Any news on the state of this feature?

1 Like

Related to this android has the Storage Access Framework which makes it possible for users to grant finegrained access of files or directories in an apps sandboxed private storage to other apps. Details are in This topic

3 Likes

With the release of 0.6.6., this feature is now implemented.

If you use the Flatpak version on Linux and you can’t make Logseq handle logseq:// URIs, be sure that in your com.logseq.Logseq.desktop (it should be in ~/.local/share/applications/) the Exec and MimeType lines are like the following:

Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=run.sh --file-forwarding com.logseq.Logseq @@u %u @@
MimeType=x-scheme-handler/logseq;

You may need to run:

sudo update-desktop-database

Now clicking logseq:// URIs from some other app should open Logseq at the right page. From the terminal the command is:

xdg-open “logseq://…”

Tested on Logseq 0.7.0.

1 Like

Is there to map a shortcut to “Copy page URL”? Also could it be included in the command palette?

There is no “Copy page URL” shortcut currently. But it’s a great suggestion.

For visibility, could you please create a new feature request?

1 Like

Thanks! (and voted!)

The kind of Deep Linking that Hook enables in macOS would also allow external links to blocks in Logseq. Is this available now? If so, I can’t figure out how to do it.

Also, I would add my vote for direct Hook support.

@gshults
There is a “Copy URL” button in the context menu of Page & Block

@Junyi_Du
Found them. Thanks!