On Wed, Mar 20, 2002 at 05:08:29PM -0400, Miguel Rosales wrote: > Hi List, > > Anyone know how to make a snapshot of any screen in Linux, similar to M$ > Windows when you have a windows and press Print Screen later go to Paint > -> Edit -> Paste -> Save As, etc, etc
Although you can do it in Gimp, I think a cool way to do it is with xwd. For example, $ xwd >test.dump Now click on the window you want to save. You can capture the whole screen with $ xwd -root >test.dump or $ xwd -root -screen >test.dump You can view the dump with $ xwud -in test.dump or convert it to a usable format with ImageMagik $ convert test.dump test.png See the manpages for more options. One nifty thing about doing it that way is that you could set an at job to dump the screen at some point in the near future (e.g., 'at now+1 min'). That way, you can pull down some menus, etc for the screen shot. (It's worth noting that the Gimp will let you delay as well.) Regards, Ben P.S. You can get the id of a window (as mentioned in the xwd manpage) with the xwininfo command. -- Ben Logan: ben at wblogan dot net OpenPGP Key KeyID: A1ADD1F0 A good supervisor can step on your toes without messing up your shine. _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list