fix: repack AppImage using system WebKit/GTK instead of bundled Ubuntu libs#137
Merged
kevwilliams merged 1 commit intomainfrom Apr 8, 2026
Merged
fix: repack AppImage using system WebKit/GTK instead of bundled Ubuntu libs#137kevwilliams merged 1 commit intomainfrom
kevwilliams merged 1 commit intomainfrom
Conversation
…u libs The AppImage built on Ubuntu 24.04 bundles WebKit/GTK/GStreamer/GLib from that distro. On Fedora 43 and other distros with newer system libraries, these bundled libs conflict with the host's graphics stack, causing EGL initialization to fail with a blank window. After dx bundle, post-process the AppImage to: - Strip all bundled standard system libs (WebKit, GTK, GStreamer, GLib, Cairo, Pango, etc.) so the host's versions are used instead - Replace the Ubuntu-specific GTK apprun hook (which hardcodes x86_64-linux-gnu paths) with a distro-agnostic version - Repack using appimagetool The AppImage now requires libwebkit2gtk-4.1 on the host system: Fedora: sudo dnf install webkit2gtk4.1 Debian/Ubuntu: sudo apt install libwebkit2gtk-4.1-0 Arch: sudo pacman -S webkit2gtk-4.1 Fixes #136
zachsmith1
approved these changes
Apr 8, 2026
2 tasks
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
dx bundlex86_64-linux-gnupaths) with a distro-agnostic versionappimagetoolbundle.ymlandmanual-release.ymlFixes #136
Root Cause
The AppImage built on Ubuntu 24.04 bundles WebKit/GTK/GStreamer/GLib from that distro. On Fedora 43 and other distros with newer system libraries, these libs conflict with the host's graphics stack, causing a cascade of symbol lookup errors and a blank white window:
Runtime Requirement
Users need
libwebkit2gtk-4.1installed:sudo dnf install webkit2gtk4.1sudo apt install libwebkit2gtk-4.1-0sudo pacman -S webkit2gtk-4.1Test Plan