In Linux we have two selections. The primary selection and clipboard selection.
Clipboard is defined by the Wayland protocol here: https://wayland.freedesktop.org/docs/html/ch04.html#sect-Protocol-data-sharing
The primary selection was original unwanted in Wayland, because it is considered unsecure. But to smooth the move from X to Wayland, an extension, disabled by default, has been created: https://wiki.gnome.org/Initiatives/Wayland/PrimarySelection
Update 2024-09: The primary selection is now implemented in the primary-selection protocol extension.
[^] # Re: wl-clipboard
Posté par alkino . En réponse au journal Enfin une utilité au presse-papier synchrone de X11. Évalué à 8.
Voir la réponse : https://stackoverflow.com/a/40027443