[Spice-devel] Need simple spice copy and past device (for terminal use)
Victor Toso
victortoso at redhat.com
Sun Jun 4 14:37:21 UTC 2023
Hi,
Not sure if you are asking for help, suggesting a feature or
interested in implementing this.
On Sun, Jun 04, 2023 at 07:04:54AM +0100, Serle Shuman wrote:
> Assuming that the host is a windows based environment and the
> guest is s qemu based linux terminal only environment e.g
> ubuntu server without x11, then there are currently no features
> targeted specifically at exposing a character device in the
> terminal that one can redirect text to and from the host's
> clipboard. e.g.
With SPICE you can't do it. SPICE copies the clipboard data from
the client, transfer it to spice-vdagent which transfer it to
guest's clipboard (x11 only, no wayland support)
> 1. from host -> guest (via spice clipboard)
> host: copy from cheetsheet to clipboard
> guest shell: dev/cb > <command> # redirect from clipboard device to
> standard out
>
> 2. from guest -> host (via spice clipboard)
> guest: <command> > dev/cb # redirect standard out to the
> clipboard device
> host:
> a. graphical paste menu item in some application
> b. dev/cb > command # redirect from spice cb
> device on host to another command
You could hack spice-vdagent to interact with something else
other than x11's clipboard if that's something you are interested
in.
Cheers,
Victor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20230604/14b09869/attachment.sig>
More information about the Spice-devel
mailing list