If you run a minimal Arch Linux setup with a Wayland compositor like Niri, Hyprland, or Sway—rather than a full desktop environment like GNOME or KDE Plasma—launching ZapFast often fails with D-Bus Secret Service keyring errors.

Here is how to install ZapFast on Arch Linux and resolve those keyring errors step by step.

1. Install ZapFast and Keyring Packages

Install ZapFast from the AUR (zapfast-bin for the prebuilt binary), along with gnome-keyring, libsecret, and seahorse (for managing keyrings):

yay -S zapfast-bin sudo pacman -S --needed gnome-keyring libsecret seahorse 

(Note: ZapFast is an unofficial third-party client and is not affiliated with WhatsApp or Meta.)

2. Keyring Errors You May Encounter

ZapFast stores its local archive key in your OS keyring via the D-Bus Secret Service interface (org.freedesktop.secrets). On minimal setups without an active keyring daemon or default collection, you may see:

  • Platform failure: zbus error: org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable — No Secret Service provider is running or registered on your session D-Bus.
  • Could not save the archive key in the OS keyring: Couldn't access platform storage: SS error: result not returned from SS API — gnome-keyring-daemon is present, but no default login keyring has been created and unlocked yet, or an older ZapFast process is still holding a stale state.

3. Fix the Keyring and Restart ZapFast

  1. Stop any lingering ZapFast process so a new instance starts cleanly instead of focusing an old background window:
 pkill -9 -f zapfast || true 
  1. Enable and start gnome-keyring-daemon, then check that org.freedesktop.secrets appears on your user D-Bus:
 systemctl --user enable --now gnome-keyring-daemon.socket gnome-keyring-daemon.service eval "$(gnome-keyring-daemon --start --components=secrets)" busctl --user list | grep -i secrets 
  1. Create and unlock a default login keyring in seahorse:
 seahorse & 

Click + (top-left) → Password Keyring → name it login, set a password (or leave blank for passwordless unlock), and confirm there is no lock icon next to it.

  1. Launch ZapFast and verify the archive key saves without errors:
 zapfast 

4. Persist Across Reboots on Wayland

Minimal Wayland compositors do not always export WAYLAND_DISPLAY and XDG_CURRENT_DESKTOP to systemd --user automatically. Add this startup line to ~/.config/niri/config.kdl (or the equivalent startup hook in your compositor):

spawn-at-startup "dbus-update-activation-environment" "--systemd" "WAYLAND_DISPLAY" "XDG_CURRENT_DESKTOP" 

If you set a password on your login keyring and want it unlocked automatically at login via PAM, ensure /etc/pam.d/login (or your display manager's PAM config, such as /etc/pam.d/greetd or /etc/pam.d/sddm) includes:

auth optional pam_gnome_keyring.so session optional pam_gnome_keyring.so auto_start