Where is the documentation for the clipboards?

Alan Coopersmith alan.coopersmith at oracle.com
Wed Jan 13 16:54:05 UTC 2021


On 1/12/21 10:56 PM, ToddAndMargo wrote:
> Hi All,
> 
> I am not finding anything about the two clipboards over on
>     https://www.x.org/releases/current/doc/libX11/libX11/libX11.html
> 
> Is "clipboard" the wrong keyword to search for?

Correct - you need to be searching for terms such as "selections" and
"cut buffers", and looking in other documents as well, see:

https://www.freedesktop.org/wiki/Specifications/ClipboardsWiki/
https://www.x.org/wiki/CutAndPaste/

> Also, are there any examples out there in C land on how to read
> and write to the two clipboards?

https://gitlab.freedesktop.org/xorg/app/xclipboard
https://github.com/kfish/xsel

-- 
	-Alan Coopersmith-               alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - https://blogs.oracle.com/alanc


More information about the xorg mailing list