Re: [Spice-devel] Need simple spice copy and past device (for terminal use)
Il giorno dom 4 giu 2023 alle ore 09:00 Serle Shuman ha scritto: > > 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. > > 1. from host -> guest (via spice clipboard) > host: copy from cheetsheet to clipboard > guest shell: dev/cb > # redirect from clipboard device to > standard out > > 2. from guest -> host (via spice clipboard) > guest: > 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 Hi, I think you are confusing the client with the host. With SPICE you use a client (either same as host or different) and you connect to the host to access the guest. Besides that, won't it be easier to enable SSH and use it instead? You would have clipboard support and more integration with Windows. You could use Tmux or a different terminal manager to have more terminals. Regards, Frediano
Re: [Spice-devel] Need simple spice copy and past device (for terminal use)
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 > # redirect from clipboard device to > standard out > > 2. from guest -> host (via spice clipboard) > guest: > 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 signature.asc Description: PGP signature
[Spice-devel] Need simple spice copy and past device (for terminal use)
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. 1. from host -> guest (via spice clipboard) host: copy from cheetsheet to clipboard guest shell: dev/cb > # redirect from clipboard device to standard out 2. from guest -> host (via spice clipboard) guest: > 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