omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

contributing guide: 'omarchy debug' command does not exist (4.0.3-1)

Open jte369 opened this issue 2 months ago • 2 comments

Summary

The contributing guide instructs bug reporters to run omarchy debug, but no debug command exists in the shipped CLI (verified on 4.0.3-1). Reporters following the guide hit a dead end before they can generate the diagnostics the template asks for.

Environment

  • Omarchy: 4.0.3-1 (Arch Linux package)
  • Hyprland: 0.56.2-2
  • CPU: AMD Ryzen 7 7735HS (Radeon 680M iGPU)
  • RAM: 27 GiB

What happened

$ omarchy debug --no-sudo --print
Unknown Omarchy command: omarchy debug
Run 'omarchy commands --all' to discover available commands.
$ omarchy commands --all | grep -- -debug
(no output — the command is not registered)

omarchy debug alone (the interactive variant the guide also references, which it says uploads to logs.omarchy.org and prints a shareable URL) fails identically.

What was expected

The contributing guide (and the omarchy.org docs) reference:

  • omarchy debug --no-sudo --print — "also written to /tmp/omarchy-debug.log"
  • omarchy debug — interactive variant that uploads the log to logs.omarchy.org (expires after 24h) and prints a shareable URL

Given the issue template asks for a diagnostics log, a working omarchy debug (or an updated guide) is needed so reporters can actually gather it.

Suggested fix

Either ship the debug command, or update the contributing guide / docs to point at whatever the current supported way of generating diagnostics is (e.g. vendored omarchy-system-info-style output, journalctl excerpts, hyprctl systeminfo).

jte369 avatar Sep 15 '26 18:09 jte369

Thanks for the report. This looks like the same root cause as #7185 and #14014: omarchy-debug is in the package, but it ships outside the directory the omarchy dispatcher scans, so the route doesn't resolve. #12750 and #14022 are open fixes. Until one lands, running omarchy-debug --no-sudo --print directly should work.

jandrusk avatar Oct 13 '26 16:10 jandrusk

Thanks for the clear report. This is the same bug as #7185, which was reported earlier, so I'm closing this one in favour of it.

Both reports show omarchy debug --no-sudo --print failing with "Unknown Omarchy command", and both come from the same cause. The guide is right that the command should exist: bin/omarchy-debug is on quattro with its omarchy debug route declared. The omarchy dispatcher only looks for commands in its own directory (/usr/share/omarchy/bin), but the package installs omarchy-debug to /usr/bin, so the route never resolves. Fixing #7185 fixes this one too, and the guide won't need changing. #12750 and #14022 are open pull requests against quattro that fix the dispatcher; the maintainer will choose between them. Until one lands, omarchy-debug --no-sudo --print works when run directly.

I checked this against quattro: the dispatcher's lookup in bin/omarchy and the commands in bin/. Codex Medium reviewed the duplicate decision separately. If I've got this wrong and your report is about something #7185 doesn't cover, reopen it and say what's different.

omarchybot avatar Oct 18 '26 02:10 omarchybot