Hi, when I press PrintScreen (under xfce), I get several options, among
which save-in-dom0. It would be nice to be able to send it directly to a
VM. Can this be done? Cheers, Bernhard

I haven't tested it, but try something like this:

#!/bin/bash
qvm-copy-to-vm $(zenity --entry --title='Send to VM' --text='Destination VM') 
"${BASH_ARGV[@]}"

Save that as an executable script, such as "~/.local/bin/send-to-vm.sh". Then, open dom0 file manager, right click any 
png, click open with other application, and under "use a custom command" enter "send-to-vm.sh %s". Then, when 
you take a screenshot, instead of choosing "save", choose "open with..." and see if your script shows up in 
the list of available applications. If not, you might have to write a simple .desktop file in ~/.local/share/applications in 
order for it to show up as an option.

Again, this is just an idea off the top of my head and totally untested.

Thank you. Of course I can do a second step after PrintScreen: change to
my dom0 terminal to run qvm-copy-to-vm. That is what I do since ever. My
question is rather how to integrate a new "send-to-VM" function  in  the
screenshot application so that it is only one step: PrintScreen & select
destination appVM ... I guess the PrintScreen "app" is a simple  script,
hidden somewhere, as well? I'd like to extend it.               Bernhard


--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/7601b176-772c-f44c-d4f4-f087851121f8%40web.de.

Reply via email to