aboutsummaryrefslogtreecommitdiff
path: root/kvmx-clipboard
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-10-26 09:35:10 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-10-26 09:35:10 -0300
commit3793cd986f72878d3e7e3bcdc4458ddd075d1213 (patch)
treec37abe084bb84236c9adcb841a8b037b33d5c54a /kvmx-clipboard
parentc14a3877daed0408352ddef78960ccf299b02d89 (diff)
downloadkvmx-3793cd986f72878d3e7e3bcdc4458ddd075d1213.tar.gz
kvmx-3793cd986f72878d3e7e3bcdc4458ddd075d1213.tar.bz2
Clipboard: remove trailing slash
Diffstat (limited to 'kvmx-clipboard')
-rwxr-xr-xkvmx-clipboard8
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
}