Interaction with XClipboard is incomplete
Posted: 16. Jan 2013, 16:34
Hi!
There is tricky problem with sharing of clipboard data in direction from Linux/Unix to Windows. The problem is that x clipboard has not single but actually three selection buffers. Namely, CLIPBOARD, PRIMARY and SECONDARY. And it seems that VBoxClient takes data from CLIPBOARD only.
Some details are:
Three selections are defined in the ICCCM: CLIPBOARD, PRIMARY, and SECONDARY, each of which behaves like a clipboard in its own right:
CLIPBOARD: traditionally used when text is copied and pasted from the edit menu, or via the Ctrl+C and Ctrl+V shortcuts in applications that support them.
PRIMARY: traditionally used when a mouse selection is made, and pasted with middle-click or Shift-Insert.
SECONDARY: ill-defined secondary selection. Most applications don't use it.
The questions are:
1. Am I missing something? May be there is some configuration for VBoxClient that I'm missing?
2. Is there a better way to workaround this problem?
There is tricky problem with sharing of clipboard data in direction from Linux/Unix to Windows. The problem is that x clipboard has not single but actually three selection buffers. Namely, CLIPBOARD, PRIMARY and SECONDARY. And it seems that VBoxClient takes data from CLIPBOARD only.
Some details are:
Three selections are defined in the ICCCM: CLIPBOARD, PRIMARY, and SECONDARY, each of which behaves like a clipboard in its own right:
CLIPBOARD: traditionally used when text is copied and pasted from the edit menu, or via the Ctrl+C and Ctrl+V shortcuts in applications that support them.
PRIMARY: traditionally used when a mouse selection is made, and pasted with middle-click or Shift-Insert.
SECONDARY: ill-defined secondary selection. Most applications don't use it.
The questions are:
1. Am I missing something? May be there is some configuration for VBoxClient that I'm missing?
2. Is there a better way to workaround this problem?