Screen capture on Linux

sjdevnull at yahoo.com sjdevnull at yahoo.com
Sun Oct 22 18:06:53 CEST 2006


Paolo Pantaleo wrote:
> Hi,
>
> I need to capture a screen snapshot in Linux. PIL has a module
> IageGrab, but in the free version it only works under Windows. Is
> there any package to capture the screen on Linux?

xwd comes with the X server.  man xwd

Most useful is "xwd -root" or similar.  You may want "sleep 5; xwd
-root" to give you some time to set things up as needed, or map it to a
window manager keybinding.




More information about the Python-list mailing list