On 1/25/20 3:40 PM, ToddAndMargo via users wrote:
Anyone know what the system calls are to write and read from the primary and secondary clipboards?
It's not really that simple (and as Samuel pointed out, not a system call). Applications can set the clipboard contents to a list of data types that they can export their "copied" data as, so reading may mean connecting to the application that owns the clipboard, asking for a list of data types, selecting one that's supported, and then asking for that type specifically.
https://developer.gnome.org/gtk3/stable/gtk3-Clipboards.html https://doc.qt.io/qt-5/qclipboard.html https://www.uninformativ.de/blog/postings/2017-04-02/0/POSTING-en.html _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx