[GLLUG] Grabbing terminal screenshots
Scott Harrison
harris41 at msu.edu
Tue Jan 6 15:12:20 EST 2004
> This brings me to a question: suppose I have a box with OpenBSD installed and I want to install squidGuard and, of course, it is done from the command line. I need to get screenshots for documentation purposes. Is there a program for grabbing terminal screenshots?
xwd
The man page is pretty good.
Usually what I do is:
[prompt %] sleep 5; xwd > snapshot.xwd
Then I bring the X-window I want to the foreground and,
after the beep, (the cursor turns to a plus sign), I click
on the menu bar with the left mouse button.
As others are leaping to their keyboard to point out
right now, you can also specify whatever X-window you
want from the command line using the "-name" option.
To convert .xwd graphics format to something better (like .png),
ImageMagick is one such tool ("convert snapshot.xwd snapshot.png").
Regards,
Scott
--
Scott Harrison <harris41 at msu.edu>
Michigan State University
More information about the linux-user
mailing list