Hello Quentin,
I run into the same issue when writing a script to overcome the problem that working with screenshots is very hard in Qubes.
As only dom0 can make screenshots I was looking for a way to send dom0-screenshots into the clipboard of an AppVM.
The solution I came up with was a script that needs to be run in dom0, which will allow the user to make screenshot and paste the screenshot into the AppVM clipboard.
https://github.com/one7two99/my-qubes/blob/master/home/bin/qvm-screenshot-to-clipboard.sh
It has also some information in out how you can send messages to the notification area, something I think is important as soon as data is transfered between VMs or dom0 and VMs.
I had also a problem that the script will only quit after the content has been pasted from the AppVMs clipboard.
I am sure that this is the same in your case.
Try it out and give me a feedback.
Question to others:
How is it possible to overcome this "continue-after-clipboard-has-been-pasted"problem?
[799]