Clipboard Clipboard

This feature allows you to copy from outside the xpra session and paste inside it, and vice versa. For various reasons, this doesn't always work quite as well as expected - see below for more details.

Platform specific issues:

Configuration Options

Technical Constraints

Clipboard support is an ongoing struggle.

You must ensure that there are no other clipboard synchronization tools already running as those are very likely to interfere and cause synchronization loops, wasted bandwidth, trigger application bugs, etc

In particular, avoid using the clipboard synchronization from your virtualization solution if you use one (ie: virtualbox, vmware, etc), or from tools like synergy. Alternatively, you can disable xpra's clipboard instead. Just avoid running both at the same time.

Debugging

Tool

There is a debugging tool which can be launched using xpra clipboard-test.

The easiest way to test the clipboard on X11 platforms is to use xclip tool to set and verify the contents of each clipboard.

Note: on win32, you will need to change the clipboard currently in use to match the one you modify, this must be done before changing the value to ensure it is propagated.

Logging

just add -d clipboard to your xpra command line.

Useful Pointers

Source code

xpra/clipboard

Related tickets