When on the Arch host I do:
echo "your clipboard content from xclip here" | xclip -selection clipboard
VMWare does not update the clipboard of the Win geust, but when I do:
echo "your clipboard content from xsel here" | xsel --clipboard
it works as expected.
As pointed out by Seth on the archlinux forum, this might be due to:
Clients attempting to acquire a selection must set the time value of the SetSelectionOwner request to the timestamp of the event triggering the acquisition attempt, not to CurrentTime
But xclip is using CurrentTime regardless:
|
/* FIXME: Should not use CurrentTime, according to ICCCM section 2.1 */ |
xsel code:
https://github.com/kfish/xsel/blob/7a134d6467e3711e3db1268dcee7001faedec187/xsel.c#L1020
https://github.com/kfish/xsel/blob/7a134d6467e3711e3db1268dcee7001faedec187/xsel.c#L547
Related Issue #90
When on the Arch host I do:
VMWare does not update the clipboard of the Win geust, but when I do:
it works as expected.
As pointed out by Seth on the archlinux forum, this might be due to:
But xclip is using CurrentTime regardless:
xclip/xclip.c
Line 475 in 2c3b811
xsel code:
https://github.com/kfish/xsel/blob/7a134d6467e3711e3db1268dcee7001faedec187/xsel.c#L1020
https://github.com/kfish/xsel/blob/7a134d6467e3711e3db1268dcee7001faedec187/xsel.c#L547
Related Issue #90