[svlug] Screen Shots
Felipe Leme
felipeal at iname.com
Thu Aug 2 09:15:01 PDT 2001
I normally use the command xwd. Actually, as I always forget the name of
the command, I created a wrapper for it, called screenshot :)
#!/bin/bash
#
# screenshot: takes a screenshot of a window to a file
#
# By Felipe Leme <felipeal at iname.com>
# screenshot,v 1.1 2001/05/05 05:42:51 felipeal Exp
#
PROGNAME=`echo $0 | sed 's#^.*/##'`
if [ $# != 1 ]
then
echo "Usage: ${PROGNAME} <file>.gif
exit -1
fi
FILE=$1.gif
echo "Select the screen and click the mouse...."
xwd -out ${FILE}
Jerry M. Howell II wrote:
>Hello all,
>
> Does anyone have any idea of how I would be able to get a screenshot
>of a command line console, a kde or gnome startup screen, and mabe a login
>screen from the command line? thnx
>
More information about the svlug
mailing list