On 02/08/2017 07:49 PM, Patrick Bouldin wrote:
> On Wednesday, February 8, 2017 at 1:47:11 PM UTC-5, Francesco wrote:
>> On Wed, Feb 8, 2017 at 3:41 PM, Franz <[email protected]> wrote:
>>
>>
>>
>>
>>
>> On Wed, Feb 8, 2017 at 2:49 PM, Patrick Bouldin <[email protected]> 
>> wrote:
>> Thank you but I'm pretty new with Linux. Do I add this as a script in dom0? 
>> How would I invoke it after a screenshot? Can you please provide full 
>> context on how to use this?
>>
>>
>>
>>
>>
>> ok. you have to create a file called for example snapshot.sh where you write 
>> the above. For doing that I use:
>>
>> vim snapshot.sh
>>
>> then digit "i"  that allows me to insert the above text
>>
>> at the end ":x" to save
>>
>>
>> after that 
>> sh snapshot.sh to execute
>>
>> good luck
>>
>> Fran  
>>
>>
>>
>> If it works you'll find the pictures in Qubesincoming/Domo fold of the VM 
>> you selected
>>
>>
>> Also please do not top post
>>
>>
>>
>>
>>
>>
>>
>>
>> On Wednesday, February 8, 2017 at 12:45:53 PM UTC-5, Francesco wrote:
>>
>>> I have it muy simple:
>>> echo "digit name of the VM to which send snapshots"
>>> read nameVM
>>> qvm-copy-to-vm $nameVM ~/Pictures/
>>> rm ~/Pictures/*.*
>>> but you can use only the last but one line if you want it even simplier. 
>>> The other lines are only to speed it up.
>>> Best
>>> Fran
>>> On Wed, Feb 8, 2017 at 2:30 PM, Patrick Bouldin <[email protected]> 
>>> wrote:
>>> Hi everyone,
>>> One important thing that really keeps me back from totally converting to 
>>> qubes is the inability to create documents with screenshots. On a windows 
>>> pc I can of course do a screen print, then quickly crop the image and paste 
>>> it right in a document.
>>> This seems extremely difficult in qubes. I do see someone created some 
>>> image copy/paste between domains here: 
>>> http://jrruethe.github.io/blog/2015/09/17/screenshots-in-qubes/
>>> Am I missing something basic or will I need to do something like that?
>>> Thanks,
>>> Patrick
>>> --
>>> 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 post to this group, send email to [email protected].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/qubes-users/dd2a1ce9-f912-41bb-a1f1-7f30cbef3003%40googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
>>
>> 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 post to this group, send email to [email protected].
>>
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/qubes-users/5611a751-42e6-426b-90e5-f0a32e9bfb2c%40googlegroups.com.
>>
>>
>>
>> For more options, visit https://groups.google.com/d/optout.
> Sorry for the top post, I knew better! :)  
>
> Ok, I think I am almost there. I am still confused on how the shellscript is 
> invoked. Do I create a shortcut that activates this? Once I have the shell 
> script in dom0, how do I invoke it from a screen print?
>
> Thanks,
> Patrick
>
Instead of using this script you can just use `scrot` command from dom0.
You need to download it first from qubes-dom0-update --action=install
scrot. It's easy to use, refer to `scrot --help` for clue from your dom0
after install. Then you can transfer the image to appvm by using
qvm-copy-to-vm or qvm-move-to-vm command.

Another good alternative I found was
https://github.com/evadogstar/qvm-screenshot-tool. Easy to use with GUI
and transfer screenshot to imgur service too!

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/43f7bad8-bd72-801e-9a1e-b8536bc54114%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to