ObsidianShell icon indicating copy to clipboard operation
ObsidianShell copied to clipboard

Question: How to open a note in Obsidian (Windows 10)

Open merlinuwe opened this issue 1 year ago • 7 comments

When I double click on a note which is already in the vault, Obsidian starts, but it does not open the note in the vault.

When Obsidian is already open, it shows me this window

image

When I choose Obsidian C:/Syncthing, it opens Obsidian but not the note.

These are my settings:

image

What did I wrong?

merlinuwe avatar Jul 14 '24 21:07 merlinuwe

Does opening notes works when disabling the support for Obsidian Advanced URI? If does, you may haven't installed Obsidian Advanced URI or it changed the interface.

Chaoses-Ib avatar Jul 15 '24 01:07 Chaoses-Ib

Thanks for your reply.

No, when I disable Obsidian Advanced URI in ObsidianShell, it opens the file in Notepad++, my standard text editor. Advances URI is on 1.41.0 and enabled in Obsidian. These are the settings:

image

merlinuwe avatar Jul 15 '24 08:07 merlinuwe

It looks like you might have selected the incorrect application to open your notes. Please follow these steps to open your notes:

  1. Right-click on a .md file
  2. Select Open withChoose anotherappObsidianShell.CLI
  3. Check Always use this app to open .md files
  4. Click OK

ghost avatar Jul 17 '24 23:07 ghost

Thanks for your reply. If I do so, I get this error message:

image

After reinstalling, I get the error message, again:

image

merlinuwe avatar Jul 18 '24 07:07 merlinuwe

Did you create directories in the recent vault? It should be empty before being used by ObsidianShell, otherwise if there is a name conflict ObsidianShell will try to delete the directory in it and cause this error.

Chaoses-Ib avatar Jul 18 '24 07:07 Chaoses-Ib

Yes I have directories in the recent vault.

Why does it want to delete something in my vault? Do you think it would make sense to ask the user, if deleting his vault or files/folders is ok?


I found, why the problems occured. It was the Subdirectories limit.

image

Could you please add it to the documentation?


Is it right that the software adds all files of the folder where a openend file resides to the vault?

merlinuwe avatar Jul 18 '24 18:07 merlinuwe

Yes I have directories in the recent vault.

Why does it want to delete something in my vault? Do you think it would make sense to ask the user, if deleting his vault or files/folders is ok?

It will not delete your actual notes, but just the links to them. As a safeguard, deleting any directories that aren't links will lead to errors, as what you have seen.

All content in the recent vault except .obsidian are supposed to be auto-created by ObsidianShell. Please don't add any other files/directories into it.

I found, why the problems occured. It was the Subdirectories limit.

Because Obsidian will slow down if there are too many files and having too many notes is bad for browsing, ObsidianShell will try to delete the oldest directory link if there are too many links in the recent vault.

Is it right that the software adds all files of the folder where a openend file resides to the vault?

See #5. And they are not "added", but just "linked". There is no copying so the cost is negligible.

Chaoses-Ib avatar Jul 18 '24 18:07 Chaoses-Ib