Repository navigation
Conversation
Ship a thin x86_64 AppImage (Ubuntu 22.04 glibc, host webkit2gtk-4.1) so Bazzite/Fedora and Ubuntu/Debian can run the same notch without bundling a WebKit that crashes on Fedora. Keep Windows and macOS trees unchanged. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a Linux port of Codenotch as a portable x86_64 AppImage, kept entirely under
linux/so the Swift macOS app and the Windows Tauri tree stay untouched.This is a contribution for maintainers to consider, not a claim that Linux is a first-class platform yet. It was built so people already running Fedora/Bazzite or Ubuntu can try the same notch, tray meters, Settings, and hover usage card as Windows.
The AppImage binary is not committed. CI builds it (
.github/workflows/linux-package.yml) and uploadslinux/Codenotch.AppImageas an artifact; onv*releases it can be attached next to the dmg and the Windows installer.Where it runs
This is not a “runs on every Linux” binary. It is an x86_64 glibc AppImage, linked on Ubuntu 22.04 (glibc 2.35) so one file can run on newer desktops.
webkit2gtk4.1.libwebkit2gtk-4.1-0.webkit2gtk-4.1and FUSE.Will not run: ARM/aarch64, musl (Alpine), Ubuntu 20.04 / Debian 11 and older glibc, machines without
webkit2gtk-4.1.Host packages at runtime:
webkit2gtk4.1; Ubuntu/Debian:libwebkit2gtk-4.1-0)Run it on the host, not inside Distrobox. Config:
~/.config/codenotch.Desktop caveats:
Full table:
linux/README.md.Why a thin AppImage (host WebKit)
A full linuxdeploy bundle that ships Ubuntu’s WebKitGTK crashes on Fedora/Bazzite (
EGL_BAD_PARAMETER). Settings and the notch stay blank.So the shipped file is a thin AppImage (~5 MB): cargo binary +
codenotch-hooksidecar, and the host’swebkit2gtk-4.1at runtime.pack-appimage-host-webkit.shstrips the bundled Ubuntu WebKit after Tauri packs.Build on Ubuntu 22.04 (or a Distrobox of that image). A native Fedora host build links a newer glibc and may not run on Ubuntu 22.04.
Changes
linux/tree: Rust + Tauri 2 / WebKitGTK, same providers as Windows (Claude, Codex, Cursor, Grok, Antigravity).build-appimage.sh+pack-appimage-host-webkit.sh)..github/workflows/linux.yml(build / test / clippy on Ubuntu 22.04) and.github/workflows/linux-package.yml(AppImage artifact; attach onv*releases).README.mdLinux section andCONTRIBUTING.mdLinux notes. i18n stays inlinux/codenotch/src/i18n.rs— not merged with Windows or Mac.codenotch-hookto~/.local/share/codenotch/so Claude Code does not point into a vanished AppImage mount.hover.html). Painting usage inside the transparent overlay stacked previous cards and did not close reliably under WebKitGTK’s software compositor.<select>styled for WebKitGTK (native GTK selects were white-on-white).windows/is left as-is. No.AppImageorlinux/target/in git.Test Plan
node scripts/check-ui-scripts.mjsinlinux/codenotch-build), glibc 2.35./Codenotch.AppImage doctormake test-ci(macOS suite; this PR does not change Swift sources)Screenshots / Screen Recordings
Tested on Bazzite / KDE with the thin AppImage from
~/Downloads/Codenotch.AppImage. Happy to attach a recording if useful.Made with Cursor