I forgot....

Matt Graham danceswithcrows at usa.net
Fri Jun 29 06:46:05 MST 2007


On Friday 29 June 2007 09:32, after a long battle with technology, 
Michael Havens wrote:
> How do you take a screen shot? I thought it was xscreenshot but it
> seems I was wrong.

xwd -out file.xwd
(button-1 click on window you'd like to dump)
convert file.xwd file.png

...use -root to dump the entire screen instead of just 1 window.  xwd 
should be installed in most distros, though the modular nature of 
recent Xorg means it doesn't *have* to be.  For a more user-friendly 
interface, use ksnapshot or the GNOME equivalent.  For extra credit, 
use xbindkeys to bind PrintScrn to "xwd -root -out ~/temp.xwd && 
convert ~/temp.xwd ~/temp.png" with some additional junk to prevent 
overwriting of previously existing files.  HTH,

-- 
I figured society would eventually take a trip towards dystopia, I just
didn't realize there would be so many knuckleheads raising their arms 
and shouting "Yippee!" during the ride.  --brap in Fark thread 2303894
There is no Darkness in Eternity/But only Light too dim for us to see


More information about the PLUG-discuss mailing list