docs(obsidian-cli): add platform setup notes for WSL and headless Linux#96
Open
citizen204 wants to merge 1 commit into
Open
docs(obsidian-cli): add platform setup notes for WSL and headless Linux#96citizen204 wants to merge 1 commit into
citizen204 wants to merge 1 commit into
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.exeis a GUI-subsystem binary. When invoked from WSL it returns exit code 0 but silently drops all stdout/stderr. The fix is to useObsidian.com, the Electron console stub that ships alongside.exeand 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.