Confusing interaction between xsel and qubes clipboard #5781
Labels
C: other
eol-4.0
Closed because Qubes 4.0 has reached end-of-life (EOL)
P: default
Priority: default. Default priority for new issues, to be replaced given sufficient information.
Milestone
Qubes OS version: R4.0
Affected component(s) or functionality: Clipboard
Brief summary: Attempting to copy >4000 bytes between VMs using
xsel
results in confusing message.To Reproduce
python3 -c 'import sys; sys.stdout.buffer.write(b"A" * 4001)' | xsel -ib
Ctrl+Shift+C
Expected behavior
Data should be copied properly; alternatively, an explanatory error message should be displayed.
Actual behavior
Popup message says "Copied 1 byte to the clipboard." and nothing is copied.
Workaround
One solution to copying large amounts of data in general is to use the
qvm-copy
command. Another workaround is to use the window manager's usual copying UI instead of usingxsel
.Relevant documentation you've consulted
qvm-copy
to copy large amounts of data.Related, non-duplicate issues
The text was updated successfully, but these errors were encountered: