diff --git a/doc/faq.rst b/doc/faq.rst index 178853a7..986f55a2 100644 --- a/doc/faq.rst +++ b/doc/faq.rst @@ -95,38 +95,6 @@ The mouse is jumpy, slow, laggy when using SPICE Please be sure to install the SPICE guest tools from https://www.spice-space.org/download.html#windows-binaries. -.. _how_to_enable_clipboard_synchronization_via_spice: - -How to enable clipboard synchronization via SPICE -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Install the SPICE guest tools from -https://www.spice-space.org/download.html#windows-binaries. - -Choose only one of the settings below (the one that applies to your -configuration): - -- QEMU - -.. code:: bash - - -device virtio-serial-pci \ - -chardev spicevmc,id=vdagent,name=vdagent \ - -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 - -- libvirt - - - Edit the VM using virsh ``sudo virsh edit VIRTUAL_MACHINE_NAME`` - - Paste the code from below right above (note the closing tag) - -.. code:: xml - - - - -
- - .. _the_mouse_doesnt_stay_aligned_with_the_host.: The mouse doesn't stay aligned with the host. diff --git a/doc/install.rst b/doc/install.rst index 03e2ef24..b21bdc3a 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -67,7 +67,7 @@ along with clipboard sync support, make sure you have a to be installed in the guest If you want clipboard synchronization please see -:ref:`how_to_enable_clipboard_synchronization_via_spice` +:ref:`client_clipboard_synchronization` .. _client_apparmor: @@ -149,6 +149,37 @@ with the following:: Change ``UID`` to the user name you will run Looking Glass with, usually your own. +.. _client_clipboard_synchronization: + +Clipboard Synchronization +~~~~~~~~~~~~~~~~~~~~~~~~~ + +Looking Glass can synchronize the clipboard between the host and guest using +the SPICE guest agent. + +1. Install the SPICE guest tools from +https://www.spice-space.org/download.html#windows-binaries. + +2. Configure your VM to enable the SPICE guest agent: + +- QEMU + +.. code:: bash + + -device virtio-serial-pci \ + -chardev spicevmc,id=vdagent,name=vdagent \ + -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 + +- libvirt + +.. code:: xml + + + +
+ + + .. _client_usage: Usage diff --git a/doc/troubleshooting.rst b/doc/troubleshooting.rst index 49a4a878..bc78acaa 100644 --- a/doc/troubleshooting.rst +++ b/doc/troubleshooting.rst @@ -28,7 +28,7 @@ The Clipboard is not Working - Before you can copy or paste content between the Guest and Host, :ref:`clipboard - synchronization ` + synchronization ` must be enabled. - **Did you install the Spice Guest Tools?**