Capturing Screen Shots in Linux
Updated November 13, 2002
Created May 22, 2001


Autogenerated Site Map
Search this Site!:
Search this site powered by FreeFind


Ok, try using import. Read the man page, you can specify how/what you want to capture. Either point and click with mouse to do one window, do a click and drag to capture a section of the screen, or collect the whole screen with something like import -window root root.jpg.

Here's a way to capture the whole screen and to allow you time to get your xterm out of the way:

sleep 5; import -window root root.jpg
And you could know when the 5 seconds is up by playing a sound:
sleep 5; import -window root root.jpg; play done.wav


* * * * * This page is * * * * *
* * * * * Under Construction * * * * *
* * * * * In time it will be completed * * * * *

xwd - X Windows Dump

Maybe use:
use "xprop" to get window ID's
"xlsclients" - to get names
Use xview to view the resulting file


Use xprop to get WM_NAME or WM_NAME(STRING).
Use xprop to get WM_CLIENT_LEADER(WINDOW): Window Id #

Use xwd to capture that screen

xwd -nobdrs -out outfile.xwd -name "window_name"
xwd -nobdrs -out outfile.xwd -id 0x4000005

Use xview to view the results

xview outfile.xwd


Search this Site!:
Search this site powered by FreeFind

Homepage: http://www.cpqlinux.com
Site Map: http://www.cpqlinux.com/sitemap.html