HFX Forum

Neophyte Section => Tips & Tutorials => Topic started by: Cobra on July 06, 2003, 09:30:21 PM

Title: Screen Captures
Post by: Cobra on July 06, 2003, 09:30:21 PM
Okay not the most impressive thing in the world. But has come in handy for me. I needed to take some screen captures of my linux desktop. And was gunna install software to do it .. but alas.. no need.

xwd
xwininfo
and ImageMagick (or somin will do)

To take a full screen capture of everything you see on your screen..

xwd -root -out image.xwd

to display

display image.xwd &

you can also take screen captures of just specific windows you are working on.
type in

xwininfo

then select the window you want. You will now see the window info in the command line. so in my case i clicked on the current directory i was viewing and i got..

xwininfo: Window id: 0x1800006 "file:/mnt/cdrom/ - Konqueror"

Now just take your info from that line and do this:

xwd -id 0x1800006 -out windowcapture.xwd

And to view it, same as before

display filename.xwd &


That's it ... I found it handy :) But then again i am easily amused! :)

Title: Re:Screen Captures
Post by: wilnix on July 07, 2003, 01:58:29 PM
Hehe, no Cobra -

It really makes one little thing in life a little bit easier and sometimes that's all it takes...

wilnix