View Single Post
Old 12-05-2023, 12:16 PM   #49
jm289765
Enthusiast
jm289765 began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Jan 2023
Device: calibre
Quote:
Originally Posted by BertMv View Post
Whenever I send highlights, instead of opening Obsidian, it opens Firefox which then asks me if I want to open Obsidian.
I have the mime-types correctly setup since I can use the obsidian:// scheme from other programs and the command line and then it does correctly open obsidian directly.
This could have something to do with H2O using Python's webbrowser.open() to open Obsidian URIs. After looking at the documentation, you might have a BROWSER environment variable that's being used instead of Obsidian. I think BROWSER is mostly only used on Linux operating systems, but I'm not sure. My Windows 11 computer doesn't seem to use it.

You might be able to change Firefox's settings to open obsidian links automatically instead of asking.

You could also try manually modifying H2O to use os.system() instead of webbrowser.open().
jm289765 is offline   Reply With Quote