diff options
-rwxr-xr-x | kvmx-clipboard | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kvmx-clipboard b/kvmx-clipboard index 3005c51..06d86dd 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 "$CONTENT" | xclip -i + echo "$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 "$CONTENT" | kvmx ssh $VM -X 'DISPLAY=:0 xclip -i -l 1' + echo "$CONTENT" | kvmx ssh $VM -X 'xsel -i --display :0' fi } |