On Wednesday, February 8, 2017 at 1:49:41 PM UTC-6, 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
Once you have created your snapshot.sh file make sure that it is executable by 
typing "chmod +x snapshot.sh" in the same directory as your snapshot.sh is 
located, remove the quotations. Once you have taken a screenshot it should be 
located in ~/Pictures. To execute the shell script you can use either of the 
following or create a custom launcher:
./snapshot.sh
sh snapshot.sh
bash snapshot.sh

-- 
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/4a742b95-02c1-4082-a756-42dc96331864%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to