Add initial Linux desktop packaging support - #551
Conversation
4e4de2f to
9509d17
Compare
|
Nice work on this — I independently built basically the same thing (a build_linux.sh that creates deb and appimage) on my own Ubuntu box before finding this PR, I suspect yours is more complete than mine. One thing I did tackle that's flagged here as a known gap: voice input. It was gated to macOS/Windows only, but the underlying engine (cpal/ALSA + whisper-rs) is already cross-platform — un-gating voice_input_compatibility() for Linux was a small change, and I've confirmed it working end-to-end (model download, mic capture, dictation) on Ubuntu. Happy to open that as a small follow-up PR once this one lands, if useful. If anyone wants to try a Linux build in the meantime: .deb/AppImage on my fork (unofficial, built from this same idea + the voice un-gating). |
9509d17 to
1e025ba
Compare
|
@hughsheehy Thanks — and sorry for the slow reply. Yes please, that follow-up would be very welcome. Your read on the voice gating matches what I found: I'm deliberately keeping this PR scoped to packaging only so the review surface stays small — a build script plus the One thing worth carrying over into that PR: I've just rebased this onto current |
|
@hughsheehy — quick heads-up before you put time into that follow-up, because I'd rather point you at this than have you redo it. I went through the other open Linux PRs and #19 (@rmanicardi, opened 2026-07-23) already does the voice un-gating, and does it well. It replaces the That's essentially the note I left above about doing a real capability check, already implemented. It's been sitting unreviewed since July, which is probably just the same review backlog everything Linux-related here is stuck in. So I think your end-to-end Ubuntu confirmation is worth more aimed at #19 than at a new PR: a second person saying "I built this and dictation works — model download, mic capture, the lot" on an unreviewed seven-week-old PR is harder to ignore than a fourth PR touching the same lines. If you find gaps in it, that's useful too. Related, there's a consolidation thread on #171 about which of #19 / #173 / #470 / #551 should be the base for Linux support — worth weighing in there if you have a view, since you've actually run this stuff. |
|
Closing this in favour of @Nikish-codes's #470, which is the better base. I built the AppImage from this branch today and found that my sidecar fix doesn't work for AppImage. It resolves the absolute path #470 is also distro-aware in its dependency installer where this PR is apt-only, and it's been independently verified on Fedora 44 by @marbetschar. @niutech suggested on #173 that it was superseded by #470 — that's one reader's read rather than its author standing down — but consolidating on #470 still looks like the right move to me. The one piece of this PR that #470 lacks — defaulting the @hughsheehy — thanks again for the offer here, and sorry to close the PR you commented on. Nothing is lost: #19 already does the voice un-gating you described, and your end-to-end Ubuntu confirmation is worth more there than it was here. #470 for packaging, #19 for voice. |
Summary
Linux notes
Verification
Commands run