Files
clipsync/docs/adr/0006-desktop-portal-clipboard.md
2026-08-27 18:43:51 +02:00

552 B

Desktop clipboard uses the xdg-desktop-portal Clipboard API

The desktop daemon reaches the clipboard through xdg-desktop-portal rather than native X11 calls. Wayland — the default session on modern Fedora/Ubuntu — exposes no direct clipboard access, so an X11-only daemon is broken for most Linux users. Consequence: on Wayland the daemon cannot passively poll; an active portal session started by a user gesture is required, so "enable clipboard sync" is an explicit action (trivial no-op grant on X11). Windows uses the Win32 clipboard API.