Frankly, is there really a need for such thing ? For the last year or so
I've been using Qubes I had to copy/paste from dom0 to VMs only a few times.

I do it sufficiently often that I wrote a (incorrect)
/usr/local/bin/qubes-set-clipboard. Incorrect because it does not grab
the inter-appviewer lock when manipulating the files, so it's possible
that there could be interleaving of updating the files between my
writing and a gui-daemon's writing, but in practice I don't care since
it is nearly impossible to trigger (I perform copy first

I was looking for a better way to solve this though, potentially with
a consistent UX (just use the same keyboard shortcut in dom0 & domU
because the action you are trying to perform is the same, so that's
what users would likely expect).

I fully agree that providing a consistent UX copy/paste from dom0 would be nice for users who need that functionality, but the past ML posts showed that a proper implementation would not be straightforward at all, hence my comment about "keeping it simple".

If that's not impolite to ask, out of curiosity, why do you often need to copy/paste from dom0 ? Why doesn't the pass-io functionality (wrapped into a user friendly script for copying files or maybe performing git operations) fit in your workflow ?


- use a specific shortcut (*not* ctrl-shift-v), or a tray button, or a menu
entry, ..., to send the content of the clipboard to a given VM (would
require a popup list to choose the VM). A terminal command in dom0 could
trigger it too.

[ re-reading my reply, I see I've made a typo: I meant ctrl-shift-c, not ctrl-shift-v ].


I didn't like that because it's an inconsistent UX, but given the
difficulty of doing it properly here, I think that's a very reasonable
solution.

Cheers,
Ivan

--
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/6a91eddc-c39e-9e53-1560-dd5af1152614%40c3i.bg.
For more options, visit https://groups.google.com/d/optout.

Reply via email to