February 8, 2020 9:01 AM, "haaber" <[email protected]> wrote:

> 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.

-- 
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/a42f6d34f4b880b585823f17a3992eec%40disroot.org.

Reply via email to