diff options
-rwxr-xr-x | kvmx-clipboard | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kvmx-clipboard b/kvmx-clipboard index 06d86dd..6f45463 100755 --- a/kvmx-clipboard +++ b/kvmx-clipboard @@ -37,11 +37,11 @@ function __kvmx_clipboard_send { local VM="$1" if [ "$VM" == "host" ]; then - #echo "$CONTENT" | xclip -i - echo "$CONTENT" | xsel -i + #echo -n "$CONTENT" | xclip -i + echo -n "$CONTENT" | xsel -i else - #echo "$CONTENT" | kvmx ssh $VM -X 'DISPLAY=:0 xclip -i -l 1' - echo "$CONTENT" | kvmx ssh $VM -X 'xsel -i --display :0' + #echo -n "$CONTENT" | kvmx ssh $VM -X 'DISPLAY=:0 xclip -i -l 1' + echo -n "$CONTENT" | kvmx ssh $VM -X 'xsel -i --display :0' fi } |