Pages

Your Ad Here

This Blog is not to read or go through

because, I have never been such a mess


Search the blog instead

Tuesday, November 20, 2007

How to Capture KDM Screen

chvt 9 ; sleep 5 ; XAUTHORITY=/var/gdm/:0.Xauth DISPLAY=:0.0 import -window root /tmp/gdm-shot.png


##########information#############
chvt is the screen number . If its value is 10 then it means the screen is obtained as CTRL+ALT+F10
sleep is the time for the screenshot
/tmp/gdm-shot.png is the destination image


chvt 10 ; sleep 5 ; XAUTHORITY=/var/gdm/:0.Xauth DISPLAY=:0.0 import -window root /tmp/gdm-shot.png

No comments:

Your Ad Here