Wayland Clipboard API

Is there such a thing as a Clipboard API in Wayland? Or where should I search to paste content to the clipboard programmatically?

I am running Fedora 24 on Wayland.

UPDATE . Having one clipboard, if that's fine, with me, is there any sample code (in Python, etc.)?

+4
source share
2 answers

In linux, we have two “clipboards”. Primary selection and clipboard.

The clipboard is defined by wayland protocol here: https://wayland.freedesktop.org/docs/html/ch04.html#sect-Protocol-data-sharing

wayland, . X wayland , , : https://wiki.gnome.org/Initiatives/Wayland/PrimarySelection

+3

Source: https://habr.com/ru/post/1655320/


All Articles