On the win32 client, there's a setting to select which of the x11 clipboards to use for synchronization. Currently it defaults to "clipboard". I'd like to have it default to "primary". Presumably someone might want "clipboard" or "secondary". Maybe a configuration setting that persists between invocations of the client could be added?
Should work as of r10600. Mostly a client update, any recent 0.16 server builds should handle this new feature. If the server does not support enabling selections on the fly, the new options will have no effect (check added in r10603).
The new command line options are only shown when they are likely to be used:
XPRA_CLIPBOARD_CLASS="xpra.clipboard.translated_clipboard.TranslatedClipboardProtocolHelper" xpra attach ...
Tested with both Linux (via env var above) and win32, where I can now synchronize the "main" clipboard with the "PRIMARY" selection used by xterms:
xpra attach --remote-clipboard=PRIMARY ...
You can also add remote-clipboard = PRIMARY
to your client's xpra.conf to make this change permanent.
@scottven: does that work for you? (fairly recent beta builds are available, at least for win32 clients)
Being able to switch clipboard implementations was very useful for testing, so r10636 makes it easier: the clipboard option is no longer a boolean, we support: --clipboard=translated
to switch to the translated clipboard on non-win32 platforms.
@afarr: just a FYI - please close.
You may find it useful now that it works properly for synchronizing with the "PRIMARY" clipboard: makes it easier to copy things from the xterm selection buffer.
Tested real quick with 0.16.0 r10853 client v. r10854 server - and it is indeed extremely handy for copying from the xterms. Couldn't figure out how to paste back into the session with clipboard set to default though. Don't suppose I'm meant to be able to copy from a windows clipboard to a primary clipboard server-side though.
I was a little surprised (well, a tiny bit) that I couldn't highlight something in an xterm then paste into a chromium browser also within the session - but I suppose even fedora browser only paste from the clipboard clipboard?
Anyway, closing.
Couldn't figure out how to paste back into the session with clipboard set to default though
You can always interact with the clipboard at a low level using:
xclip
Note: I have not tested any of this because all my test systems are "clipboard challenged" (linked with synergy clipboard sharing already).
I was a little surprised (well, a tiny bit) that I couldn't highlight something in an xterm then paste into a chromium browser also within the session - but I suppose even fedora browser only paste from the clipboard clipboard?
Exactly.
screenshot of the new win32 clipboard menu
For reference, the new tray menu looks like this:
new clipboard tray menu on osx
As of r12059, this is now also supported on OSX (#1011):
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/966