# ThoughtSync desktop — Arch package A native Arch/pacman package, built **from source** so it links against your **system** libraries (webkit2gtk-4.1 + your GPU driver). This is the robust install on Arch/CachyOS: it avoids the bundled-AppImage `EGL_BAD_PARAMETER` black-window problem entirely, and it installs a proper application-menu entry. ## Install From a clone of the `thoughtsync` repo: ```sh cd desktop/packaging/arch makepkg -si ``` `makepkg` will pull the build tools (`rust`, `nodejs`, `npm`) and runtime deps (`webkit2gtk-4.1`, `gtk3`, …) via pacman, compile the frontend + the Rust binary, and install: - `/usr/bin/thoughtsync` — the app - `/usr/share/applications/thoughtsync.desktop` — the menu entry - `/usr/share/pixmaps/thoughtsync.png` — the icon Then launch **ThoughtSync** from your app menu (or run `thoughtsync`). ## Notes - Builds in-place from the checkout (`makepkg` reads the committed state via git). - The compile takes a few minutes the first time (Rust release build). - Uninstall: `sudo pacman -R thoughtsync-desktop`.