Skip to content

fix(linux): honor inherited default file associations - #26

Open
ooonea wants to merge 1 commit into
jonx:mainfrom
ooonea:fix/linux-gio-open
Open

ooonea wants to merge 1 commit into
jonx:mainfrom
ooonea:fix/linux-gio-open

Conversation

@ooonea

@ooonea ooonea commented Nov 1, 2026

Copy link
Copy Markdown

The generic xdg-open backend can miss inherited MIME defaults and send JSON files to the browser. Use gio open for default file opening and text editing, with xdg-open only when gio is not found. Make file paths absolute so relative names are not interpreted as options or URIs.

Verified real GIO inheritance from a text/plain association to JSON, including spaces, relative names and non-UTF-8 filename bytes. Missing-GIO fallback and permission-denied launch errors were also checked. The Linux shell tests, Clippy and documentation checker pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant