📦 LOCAL PKGBUILD · NOT YET ON aur.archlinux.org

Install XKG Desktop on Arch Linux

The PKGBUILD is ready and tested locally. We're waiting on an AUR maintainer account to push it to aur.archlinux.org/packages/xkg-desktop. Until then, install it from the local copy or the GitHub mirror.

Option 1: Install from the local PKGBUILD (works now)

1

Install the build dependencies

sudo pacman -S --needed base-devel rust nodejs npm git webkit2gtk-4.1 gtk3 librsvg
2

Download the PKGBUILD

git clone https://github.com/griptoad26/xkg-aur.git
cd xkg-aur

Or download the files directly: PKGBUILD + .SRCINFO into an empty directory.

3

Build and install

makepkg -si

The -s flag installs missing deps, -i installs the package. First build takes 5–10 minutes (Rust compilation).

4

Run

xkg-desktop

Press Ctrl+Shift+X anywhere to capture. Settings are at ~/.config/xkg-desktop/.

Option 2: Install from AUR (when published)

Once we push the package to AUR, you'll be able to use any AUR helper:

# yay
yay -S xkg-desktop

# paru
paru -S xkg-desktop

# manual
git clone https://aur.archlinux.org/xkg-desktop.git
cd xkg-desktop
makepkg -si

What gets installed

PathPurpose
/usr/bin/xkg-desktopThe compiled AppImage (executable)
/usr/share/applications/xkg-desktop.desktopMenu entry (shows in app launchers)
/usr/share/icons/hicolor/*/apps/xkg-desktop.pngApplication icons (32, 128, 256 px)
/usr/share/licenses/xkg-desktop/LICENSEMIT license text
/usr/share/doc/xkg-desktop/README + SYNC docs

Troubleshooting

"webkit2gtk-4.1 not found" — Your distro may use webkit2gtk-4.0 (older) or webkitgtk-6.0 (newer). Edit the depends= line in PKGBUILD to match your version.

"npm ci fails" — Try npm install instead. The PKGBUILD uses npm ci for reproducible builds, which requires a clean package-lock.json.

"permission denied on /usr/bin" — Use makepkg -si (not just makepkg -s); the -i flag runs pacman -U with sudo.

Build takes forever — First Rust compile of Tauri can take 5–10 minutes. Subsequent rebuilds are <30s thanks to incremental compilation.

More help: support form · file an issue

Want to help push it to AUR?

If you have an AUR account and want to be the maintainer of aur.archlinux.org/packages/xkg-desktop, email aur-maintainer@seele.agency. We need: