Skip to content

Add Thunderbird to the install menu - #12166

Open
Maximilian-Maag wants to merge 2 commits into
omacom:quattrofrom
Maximilian-Maag:add-thunderbird
Open

Maximilian-Maag wants to merge 2 commits into
omacom:quattrofrom
Maximilian-Maag:add-thunderbird

Conversation

@Maximilian-Maag

@Maximilian-Maag Maximilian-Maag commented Sep 16, 2026

Copy link
Copy Markdown

Omarchy ships no mail client, so mailto: links only work for whoever kept the HEY web app. Thunderbird is the obvious desktop answer and it is already in extra, so this installs it like any other service.

  • omarchy install service thunderbird installs thunderbird, points x-scheme-handler/mailto at it, and opens it.
  • omarchy remove service thunderbird drops the package and releases mailto:, but only while Thunderbird still holds it — a handler you picked yourself afterwards is left alone. It hands mailto: back to HEY.desktop when that web app is still installed, and otherwise drops the lines xdg-mime wrote, since xdg-mime has no way to clear an association and the alternative is leaving mailto: pointed at a desktop file the next line uninstalls. A list naming other handlers as well is left untouched.
  • Both show up under Install → Service and Remove → Services, gated on omarchy-pkg-present thunderbird like the neighbouring entries.

Tested with test/cli, by checking both routes resolve via omarchy commands --all, and by exercising the handler logic against a sandboxed HOME/XDG_CONFIG_HOME/XDG_DATA_HOME: claiming mailto:, handing it back to HEY, declining to touch a third-party handler, clearing the association when no fallback exists, preserving a curated multi-handler list, and doing nothing when there is no mimeapps.list.

🤖 Generated with Claude Code

Maximilian-Maag and others added 2 commits September 16, 2026 20:24
Omarchy ships no mail client, so mailto: links only work for whoever
kept the HEY web app. Thunderbird is the obvious desktop answer and it
is right there in extra, so install it like any other service and let
it take over the mailto: handler while it is around.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Removal handed mailto: back to the HEY web app, but anyone who had run
"omarchy remove preinstalls" was left with mailto: pointing at a desktop
file that the very next line uninstalls. xdg-mime cannot clear an
association, so drop the lines it wrote instead. Lists that name other
handlers as well are left alone, since those were curated by hand.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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