Assuming you're looking for a screenshot (*), perhaps this will be of assistance. Taken from my MeeGo Netbook. It will snapshot the current state of the screen and (over)write it to file screenshot.png (in pwd): .................. meegolem-109-~> cat bin/screenshot #!/bin/sh export DISPLAY=:0.0 gst-launch-0.10 ximagesrc num-buffers=1 ! ffmpegcolorspace ! pngenc ! filesink location=screenshot.png ls -l screenshot.png ........................
See also http://forum.meego.com/showpost.php?p=27827&postcount=3 ... the fact that this little script works on MeeGo 1.2.0.90 Netbook, MeeGo 1.2.0.90Tablet, my amazing new Harmattan N950 handset, my Fedora desktops, etc is small sign of progress amidst a sea of turmoil... Hopefully, with wayland coming, there's some reasonable replacement for the 'ximagesrc num-buffers-1' part. -- Niels http://nielsmayer.com PS: (*) alternately perhaps this is the kind of application snapshot you're looking for :-) : http://www.stanford.edu/~pgbovine/cde.html http://www.youtube.com/watch?v=6XdwHo1BWwY _______________________________________________ MeeGo-dev mailing list [email protected] http://lists.meego.com/listinfo/meego-dev http://wiki.meego.com/Mailing_list_guidelines
