November 21, 2017, 10:40:14 PM

Author Topic: Screen Captures  (Read 4765 times)

0 Members and 1 Guest are viewing this topic.

Offline Cobra

  • cool?
  • Administrator
  • Seasoned Poster
  • *****
  • Posts: 447
  • Country:
  • Gender: Male
  • My mom says im cool!
Screen Captures
« 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! :)

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

Offline wilnix

  • mv user /dev/null
  • Administrator
  • Forum Hero
  • *****
  • Posts: 690
  • Country:
  • Gender: Male
  • You're not the fastest packet in the subnet...
    • Wilnix - The NetAdmin's Resource
Re:Screen Captures
« Reply #1 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
alt email address: wilnix@hackphreak.org