From 3793cd986f72878d3e7e3bcdc4458ddd075d1213 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 26 Oct 2018 09:35:10 -0300 Subject: Clipboard: remove trailing slash --- kvmx-clipboard | 8 ++++---- 1 file 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 } -- cgit v1.2.3