Setting up the Obsidian URI on Linux (tested on Ubuntu 18.04, YMMV)
Make sure your desktop file is set up correctly. If it doesn’t exist, you can create it. I have mine on ~/.local/share/applications
:
Then run:
xdg-mime default obsidian.destkop x-scheme-handler/obsidian
update-desktop-database
Check that the URI works by confirming that the output of both xdg-mime query default x-scheme-handler/obsidian
and xdg-settings get default-url-scheme-handler obsidian
is obsidian.desktop
.
It should also appear on your ~/.config/mimeapps.list
:
[Default Applications]
...
text/html=obsidian.desktop
x-scheme-handler/obsidian=obsidian.desktop