diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-03-24 13:48:48 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-03-24 13:48:48 -0300 |
commit | 9861c861b55e7f8efca6532a3968b16eb59e9e58 (patch) | |
tree | a0f8b2f87812aa3329686b1ae2279c0201b65d7c /kvmx-vdagent | |
parent | a2989b09d5ebb71ae93fc4757fab5df88193b1f0 (diff) | |
download | kvmx-9861c861b55e7f8efca6532a3968b16eb59e9e58.tar.gz kvmx-9861c861b55e7f8efca6532a3968b16eb59e9e58.tar.bz2 |
Initialize the clipboard at kvmx-vdagent
Diffstat (limited to 'kvmx-vdagent')
-rwxr-xr-x | kvmx-vdagent | 6 |
1 files changed, 6 insertions, 0 deletions
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 |