Re: [EXT] Re: [qubes-users] screenshot: send to VM ??

2020-02-11 Thread Eva Star
> I just want to say that I'd vote for this feature as the user is expected 
not to save screenshots in Dom0.  Maybe some "Set default destination VM" 
would be useful for programs that want to save files... 

use my tool github.com/evadogstar/qvm-screenshot-tool 

 
. what is the problem?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/f657fbe2-eb3f-434f-aed8-4caec671da99%40googlegroups.com.


Aw: [EXT] Re: [qubes-users] screenshot: send to VM ??

2020-02-08 Thread Ulrich Windl
I just want to say that I'd vote for this feature as the user is expected not 
to save screenshots in Dom0.  Maybe some "Set default destination VM" would be 
useful for programs that want to save files...
>>> Claudia 08.02.2020, 13:13 >>>
February 8, 2020 9:01 AM, "haaber"  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 qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/a42f6d34f4b880b585823f17a3992eec%40disroot.org.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/5E3F487C02A100036E21%40gwsmtp.uni-regensburg.de.