Screen Captures

Started by Cobra, July 06, 2003, 09:30:21 PM

Previous topic - Next topic
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! :)

I am not suffering with insanity... I am loving every minute of it.

Hehe, no Cobra -

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

wilnix
alt email address: wilnix@hackphreak.org

SMF spam blocked by CleanTalk