diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-10-25 14:56:52 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-10-25 14:56:52 -0300 |
commit | c14a3877daed0408352ddef78960ccf299b02d89 (patch) | |
tree | e4c1584ee08b3621db8d5b60807ccdbbde5748bc | |
parent | b208e05e91a33c90bec6b5a013c3d7855db6bacf (diff) | |
download | kvmx-c14a3877daed0408352ddef78960ccf299b02d89.tar.gz kvmx-c14a3877daed0408352ddef78960ccf299b02d89.tar.bz2 |
Quote clipboard content
-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 } |