diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-10-26 09:35:10 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-10-26 09:35:10 -0300 |
commit | 3793cd986f72878d3e7e3bcdc4458ddd075d1213 (patch) | |
tree | c37abe084bb84236c9adcb841a8b037b33d5c54a /kvmx-clipboard | |
parent | c14a3877daed0408352ddef78960ccf299b02d89 (diff) | |
download | kvmx-3793cd986f72878d3e7e3bcdc4458ddd075d1213.tar.gz kvmx-3793cd986f72878d3e7e3bcdc4458ddd075d1213.tar.bz2 |
Clipboard: remove trailing slash
Diffstat (limited to 'kvmx-clipboard')
-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 } |