[maemo-developers] [maemo-developers] Taking screenshots (was: Porting applications for Maemo)

From: Tommi Komulainen tommi.komulainen at nokia.com
Date: Wed Jul 6 11:36:44 EEST 2005
> > Then i tried to take screenshots from real 770 device, I noticed that
> > it is listening the only unix domain socket so i can't grap screen with
> > external application. I also compiled xgrabsc to grab screen locally
> > but xgrapsc just makes the device to boot.
> 
> You could try to use gdk_get_default_root_window, 
> gdk_pixbuf_get_from_drawable and then save this to a file.
> 
> Haven't tried it my self but it should work AFAIK.

Maemo should come with osso-screenshot-tool which works exactly like you
described.  If it's not there yet, it'll be available in the subversion
repository we're currently setting up.


-- 
Tommi Komulainen                            <tommi.komulainen at nokia.com>

More information about the maemo-developers mailing list