Support for vaults in Windows Subsystem for Linux (WSL)

I’m not sure how I’d tell the difference, but if I do a wslfetch, I don’t get any indication as to WSL1 or WSL2.

+1
This would add real value. Other tools I’d like to use with my vault (e.g. git-annex) for storing and tracking non-md files in my vault, require symlink functionality not found on native windows filesystems.

VS code is also built on electron and has seamless integration with the WSL2 while running from Windows, which makes me think integration should be possible. Given that there is an open source version of VS code (VS codium) perhaps there is a way to incorporate the right tools for Obsidian to play nice with POSIX files from the Windows side.

I’ve tried installing Obsidian within the WSL2 for Ubuntu, but the typing experience was not smooth enough and the graphics rendered too small for everyday use.

1 Like

If I understand what you’re looking for, you can do symlinks, hardlinks, and junctions in Windows.

I use a utility to do it, just because it’s easier, as well as having context menu items to copy and paste the link. Here’s an article I found on the topic. I see it being very useful with Obsidian. Symlink Article

Interesting, thanks. But that doesn’t really help with this issue. I’ve actually tried moving directories from the WSL2 to the normal windows filesystem and if there is a linux symlink in there, Obsidian will error out. I just don’t understand why this is the behavior? VS code can simply ignore the symlinks. Why can’t obsidian?

I guess I’m hoping for one of two things (or both):

  1. Obsidian (installed on Windows) can learn to not error out when it encounters a symlink.

  2. Obsidian (installed on WSL2) can show better performance on high DPI monitors. The fonts render way too small and the typing experience is laggy.

If either of these are fixed. I would be so happy.