← Back to team overview

ubuntu-phone team mailing list archive

script for using the new screencast/screenshot feature

 

hi,

as you might have seen on G+ already the new Mir ships a new
screencast/screenshot feature, since that needs some extra processing of
the images and slightly varies across teh devices I hacked up a little
script that was tested on the three supported devices (N4, N7 (2013) and
N10)
to properly create screenshots. you can grab the code from:

http://paste.ubuntu.com/7073413/

save it as screenshooter.sh
run: chmod +x ./screenshooter.sh

and you will be able to acquire screenshots from an adb attached
device ... note that you can also call it the following way to
immediately get presented the screenshot:

eog $(./screenshooter.sh)

ciao
	oli

Attachment: signature.asc
Description: This is a digitally signed message part


Follow ups