On Wed, Nov 23, 2016 at 6:29 PM, Jean-Philippe Ouellet <[email protected]> wrote: > On Wed, Nov 23, 2016 at 5:53 PM, Marek Marczykowski-Górecki > <[email protected]> wrote: >> Another idea: have some window "paste here to send to inter-VM clipboard". >> (Much) Less convenient, but easier to implement (including smaller risk of >> some >> race condition, or another not obvious interaction with other >> applications). This can be made available from some tray icon (the one >> of qubes manager?). > > This sounds safe(r), and I like safe :)
If we take this appraoch, we would not actually need a "paste here to send to inter-VM clipboard" window, simply clicking a qubes tray menu item to copy write current dom0 clipboard should be sufficient. Also, regardless of how we end up having dom0 write to the clipboard, it appears to me that it should take appviewer.lock (see gui-daemon) while manipulating /var/run/qubes-clipboard.*. This suggests to me that perhaps we should factor the clipboard-file manipulation out of gui-daemon's xside.c into some other thing to be shared between both dom0 writer & gui-daemon. -- You received this message because you are subscribed to the Google Groups "qubes-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-devel/CABQWM_Bn45v23vLDt7q7PLLAzcefhnTfqpiAPbWkZXv9wLLSew%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
