Skip to content

docs(obsidian-cli): add platform setup notes for WSL and headless Linux#96

Open
citizen204 wants to merge 1 commit into
kepano:mainfrom
citizen204:docs/obsidian-cli-platform-notes
Open

docs(obsidian-cli): add platform setup notes for WSL and headless Linux#96
citizen204 wants to merge 1 commit into
kepano:mainfrom
citizen204:docs/obsidian-cli-platform-notes

Conversation

@citizen204

Copy link
Copy Markdown

Summary

Adds a Platform setup section to the obsidian-cli skill covering two environment-specific pitfalls that currently have no guidance in the skill.

Closes #93
Closes #62

Changes

WSL / Windows (#93)

Obsidian.exe is a GUI-subsystem binary. When invoked from WSL it returns exit code 0 but silently drops all stdout/stderr. The fix is to use Obsidian.com, the Electron console stub that ships alongside .exe and pipes streams correctly.

Headless Linux (#62)

On Linux without a display (servers, Docker, CI), the CLI fails unless DISPLAY is set to match the Xvfb display where Obsidian is running.

Both issue reporters explicitly offered to submit a PR but never did.

- WSL: use Obsidian.com (Electron console stub) instead of Obsidian.exe,
  which silently drops stdout/stderr on WSL due to GUI subsystem mismatch
- Headless Linux: set DISPLAY to Xvfb display before running commands,
  otherwise CLI fails with 'unable to find Obsidian'

Closes kepano#93, closes kepano#62
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant