Closed CounterPillow closed 2 years ago
This is the normal behavior. There's no "global clipboard" on Wayland or X11; applications provide clipboard contents on demand. This means that wl-copy must run in the background (or, with -f
in your case, in foreground) and serve the clipboard contents until something else replaces them.
To reproduce, run:
echo "penis" | wl-copy -f
Compositor: kwin 5.24.4
I need to use
wl-copy -f
because otherwise wl-copy fails when run from spectacle for some reason. The hang is not reproducible without-f
.Output with
WAYLAND_DEBUG=1
: