Hello Quentin,

On 05/03 12:31, quentin.leguenn...@gmail.com wrote:
> I am currently trying to get a script working to copy passwords from a 
> password store VM to different VMs, using qvm-pass.
> I tried something like:
> qvm-run vmname 'qvm-pass gmail | xclip'
> The password is copied to the vm but the command doesn't terminate.
> In fact,
> qvm-run vmname 'echo abc | xclip'
> Doesn't terminate either. Can someone explain what I'm missing here? 

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]

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20180503163450.nx3r3vhfutq5eowi%40my-privmail.
For more options, visit https://groups.google.com/d/optout.

Reply via email to