Repository navigation
Conversation
…the menu The ghostty package ships DBusActivatable=true with a user service that fails to start, so menu launches silently do nothing while direct Exec works. Install a local desktop override with DBusActivatable=false via migration for existing installs and via omarchy-install-terminal for fresh ones. Fixes omacom#15779.
[Medium impact] The PR appears safe to merge; both previous findings are fixed and no new blocking issues were found. SummaryThe PR disables Ghostty’s broken D-Bus launch path through a local desktop override.
Both previous findings are addressed. No new actionable issues were found. This review checked the code without running the tests or a live menu launch. Reviews (2) · Last reviewed commit: "Repair existing Ghostty overrides in the..." · Reviewed by Greptile |
|
Thanks for the detailed report in #15779. The failure is real, but only with Arch extra's Ghostty build. The Ghostty Omarchy ships doesn't have it, so this needs the maintainer to decide whether it should land at all. What was checked. I tested on a disposable worker built from the Omarchy ISO (systemd 262, uwsm 0.27.0), launching Ghostty the way the app menu does (
What was found.
I pushed nothing: whether this should land is a decision for the maintainer, not a defect to fix. Second opinion. Codex Medium reviewed the diff and the worker results. It agreed on the scope and the #8033 collision, and independence is not guaranteed. It added one thing: the Next. This waits on the maintainer: land it as a workaround for extra's build, rely on #8033, or close it in favour of an upstream report. |
|
Addressed the two concrete override findings in f8dd82c. Installation now repairs an existing local override while preserving custom keys. Both installation and migration use desktop-file-edit to set DBusActivatable=false in the main Desktop Entry group, including when Desktop Action groups follow it. Focused regression coverage exercises the production migration and install branch, preservation of custom Exec/Name, main-group insertion and migration idempotence; it passes. This does not settle the scope question: the worker reproduced the failure with Arch extra's Ghostty build, while Omarchy's build worked. The overlap with #8033 and its single-instance/working-directory behavior remains for the maintainer to decide. This follow-up does not claim to implement #8033 or fix the package itself. |
|
Re-reviewed at f8dd82c. The new commit fixes both override findings from the last round, and I found no new defect. The scope question and the overlap with #8033 are unchanged, so this still waits on the maintainer. What was checked. I tested on a disposable worker built from the Omarchy ISO, with Arch extra's
What was found.
I pushed nothing. Second opinion. Codex Medium reviewed the delta and the worker results. It found no defect, agreed that the scope and #8033 questions remain, and independence is not guaranteed. It noted two limits of the new test that do not cause a false pass today: the install-branch check looks for Next. The maintainer decides whether to land this as a workaround for extra's build, rely on #8033, or close it in favour of an upstream report. |
|
Thanks. I’d keep this as the workaround for Arch extra’s Ghostty build unless the maintainer prefers #8033; Omarchy’s own build doesn’t reproduce it, but extra’s package is what many users have. |
|
Ghostty 1.4.0 fixes the bug this pull request works around, and both Arch extra and Omarchy's repo have shipped it since October 28. I could not reproduce the failure on current What changed since the last review. The head is still f8dd82c. Two things moved around it:
What was checked. I used a disposable worker built from the Omarchy ISO, with the Omarchy checkout at base
I pushed nothing. What merging it would do now. Both builds still ship Second opinion. Codex Medium reviewed the diff, the base branch's Next. The maintainer decides whether to close this as superseded by Ghostty 1.4.0, which is my recommendation, or to keep a workaround for unpatched builds someone has pinned. Keeping it would need a version check, a way to remove the override later and the duplicate block moved into one helper. #15779 can close as fixed by the 1.4.0 package update. |
|
Closing as superseded. Ghostty 1.4.0 fixes the underlying bug (ghostty-org/ghostty#14399): the 1.3.1 |
Fixes #15779.
Problem
After installing Ghostty, launching it from the app menu silently does nothing, while running
ghosttyfrom another terminal works. The shipped desktop file setsDBusActivatable=true, so menu launches go through D-Bus activation handled byapp-com.mitchellh.ghostty.service --initial-window=false— which never starts (Main process lacks handler for reload signal USR2, refusing service startup, see issue for journal evidence).Fix
Install a local desktop override (
~/.local/share/applications/com.mitchellh.ghostty.desktop) withDBusActivatable=falseso launchers runExecdirectly, until the packaging is fixed upstream:migrations/1792279674.shrepairs existing installs idempotently (preserves user customizations in an existing override, only touches theDBusActivatableline; no-ops when Ghostty isn't installed or the system file no longer opts into D-Bus activation).omarchy-install-terminalapplies the same override for freshghosttyinstalls.Verification
HOME: fresh install, re-run (idempotent, singleDBusActivatable=line), pre-existing customized override (customExecpreserved), override without the key (appended), Ghostty absent (no-op, exit 0).desktop-file-validate../test/all: the only failures (7 files, incl.default-apps-test.sh) also fail on the clean base tree — pre-existing environment issues, none related to this change.Live GUI launch could not be exercised from the headless shell used here; the override content matches the manually verified workaround. A screen recording of menu launch is best captured on real hardware.