From 9861c861b55e7f8efca6532a3968b16eb59e9e58 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 24 Mar 2017 13:48:48 -0300 Subject: Initialize the clipboard at kvmx-vdagent --- kvmx-vdagent | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'kvmx-vdagent') diff --git a/kvmx-vdagent b/kvmx-vdagent index 9437a8e..e938b74 100755 --- a/kvmx-vdagent +++ b/kvmx-vdagent @@ -30,3 +30,9 @@ done if which spice-vdagent &> /dev/null ; then spice-vdagent fi + +# Initialize the clipboard with some content: this seems necessary in order to +# the clipboard link start working between host and guest. +if which xclip &> /dev/null; then + echo $RANDOM | xclip +fi -- cgit v1.2.3