How to "transfer" the screen-shot into the Document Domain?

82 views
Skip to first unread message

kerste...@gmail.com

unread,
Feb 16, 2015, 4:15:11 AM2/16/15
to qubes...@googlegroups.com
Hello,

Ok, I can make a srceenshot with the Dom0-Screenshot tool (Linux-Screenshot).

How I can use this screenshot inside a LibreOffice Writer Document?

The Str+Shift+C secure copy trick seems not to work here?

Best Regards,
Kersten


P.S. The Dom0-Game-Over Theory implies that there should be no security issues to transfer a Dom0-screeshot in any VM, isn't it (besides to steal the digital footprint, screenshots of all kind of security relevant Dom0 settings)?

Zrubi

unread,
Feb 16, 2015, 4:43:15 AM2/16/15
to qubes...@googlegroups.com
signature.asc

kerste...@gmail.com

unread,
Feb 16, 2015, 5:10:31 AM2/16/15
to qubes...@googlegroups.com, kerste...@gmail.com
Hallo Zrubi,

Merci, so I must save the screenshot at first under Dom0 and than type the coding in the Dom0-console:

qvm-run --pass -io Dom0 'cat /path/to_in_Dom0 > /path/to/file_name_in_work

and this for each screenshot?

Can I also use in some way the button in the screenshot app, send to... domain work? This would be much more handy.

Best Regards,
Kersten

Zrubi

unread,
Feb 16, 2015, 5:33:05 AM2/16/15
to qubes...@googlegroups.com
On 02/16/15 11:10, kerste...@gmail.com wrote:

> Merci, so I must save the screenshot at first under Dom0 and than type the coding in the Dom0-console:

Yes.

> qvm-run --pass -io Dom0 'cat /path/to_in_Dom0 > /path/to/file_name_in_work


no, You need this one in case of dom0-> any VM direction:

cat /path/to/file_in_dom0 | qvm-run --pass-io <dst_domain> 'cat >
/path/to/file_name_in_appvm'



> Can I also use in some way the button in the screenshot app, send to... domain work? This would be much more handy.

For this one have to modify the screenshot saving application code to be
able to use it as a save button. - I guess nobody did it.


I usually just copy the screenshots one-by one - or tar/gzip the whole
directory and moving the archive to the appvm...





--
Zrubi

signature.asc

cprise

unread,
Feb 16, 2015, 9:31:58 AM2/16/15
to Zrubi, qubes...@googlegroups.com, kerste...@gmail.com
An easy way to move multiple files in a single step is to use 2 instances of tar:
tar -cvf - snapshot*.jpeg | qvm-run --pass-io vmname 'tar -xf -'

This will move JPEG images beginning with 'snapshot' from the current folder into the home folder of 'vmname'.

Or you can copy a whole folder like so:
tar -cvf - foldername | qvm-run --pass-io vmname 'tar -xf -'

Adding '--remove-files' will make it behave like a move command (source files are deleted as they are copied to the vm):
tar --remove-files -cvf - foldername | qvm-run --pass-io vmname 'tar -xf -'

Reply all
Reply to author
Forward
0 new messages