Where is the documentation for the clipboards?

Ilya Anfimov ilan at tzirechnoy.com
Wed Jan 13 08:37:54 UTC 2021


On Tue, Jan 12, 2021 at 10:56:51PM -0800, 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?

 1) The documentation for the X11 is the "X Window System Protocol"

https://www.x.org/releases/X11R7.5/doc/x11proto/proto.pdf

 not the "Xlib - C Language X Interface" .

 The latter relies heavily on knowledge of the former.

 2) Two clibpoard names (well, more in fact) is a convention about protocol
usage, described in the ICCCM

  https://www.x.org/releases/X11R7.6/doc/xorg-docs/specs/ICCCM/icccm.html

  Also there are some practice described by fd.o specs and comments form this
links

  https://www.freedesktop.org/wiki/Specifications/ ,

  at least  https://www.irif.fr/~jch//software/UTF8_STRING/ and
  https://www.freedesktop.org/wiki/Specifications/clipboards-spec/


  I recommend to make some experiments (get targets, look which contains useful
data) with major toolkits and typical scenarios (non-ascii letters, files,
images) to be familiar with the ecosystem.



> 
> Also, are there any examples out there in C land on how to read
> and write to the two clipboards?
> 
> Many thanks,
> -T
> 
> -- 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Computers are like air conditioners.
> They malfunction when you open windows
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> 
> _______________________________________________
> xorg at lists.x.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: https://lists.x.org/mailman/listinfo/xorg
> Your subscription address: %(user_address)s


More information about the xorg mailing list