[Spice-devel] [PATCH spice-gtk] RFC: populate all clipboards

Marc-André Lureau mlureau at redhat.com
Mon Feb 24 03:33:34 PST 2014



----- Original Message -----
> Hey,
> 
> On Thu, Feb 20, 2014 at 04:15:51PM +0100, Marc-André Lureau wrote:
> > Some users want all the clipboards to be populated when doing copy.  I
> > wonder if there isn't a better solution than to have this hack in
> > spice-gtk, in particular, if a small X daemon/tools could do that
> > automatically? That would be a cleaner and more future-proof approach
> > imho.
> > 
> > Nevertheless, this is a proof of concept, when setting
> > SPICE_CLIPBOARD_FILL_ALL=1, all implemented clipboards will be
> > populated by spice-gtk.
> 
> Has this been requested when using linux clients with linux guests? If it's
> only useful for Windows clients/linux guests, shouldn't we set both
> selection and clipboard in the linux guest when filling the windows
> clipboard, and just keep the regular behaviour in all other cases?

The proposal is to implement SPICE_CLIPBOARD_FILL_ALL=1 that will sync all clipboards: keep it simple. I don't fancy more having special cases OS / direction.

But tbh, I think this would be better solved by a clipboard manager on Linux/X. Any idea how to do that?


More information about the Spice-devel mailing list