LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I need to copy the content of "what monitor is showing" (https://www.linuxquestions.org/questions/linux-newbie-8/i-need-to-copy-the-content-of-what-monitor-is-showing-563467/)

saeed144 06-21-2007 09:15 AM

I need to copy the content of "what monitor is showing"
 
Dear reader,

I have a CentOS 4.2 running a system on company's private network,

Sometimes, for Error Reporting, I need to copy the content of "what monitor is showing" to a file, in order to use for logging and error reporting,

As you might gussed, i'm newbie,

Plaase help,:confused:
Saeed144

LightningCrash 06-21-2007 10:08 AM

This could be what you were looking for.....

Quote:

To take a screenshot of your beautiful desktop in Red Hat you could either try pressing the 'Prt Scr' key on the keyboard.... or if that fails (and it sometimes does) then try this.

Open a console and type the following:-

import -window root filename.ext

Where filename.ext is the filename you want to give to your work of art. You can then check the directory you are in, and there will be the screenshot waiting for you.

If you want to add a delay BEFORE the shot is taken (so you can move stuff out of the way) then add a sleep command as follows:-

sleep 3s; import -window root screenshot.png

The above waits 3 seconds before taking the screenshot and saves it in PNG format. That's it, have fun

frenchn00b 06-21-2007 03:37 PM

Quote:

Originally Posted by saeed144
Dear reader,

I have a CentOS 4.2 running a system on company's private network,

Sometimes, for Error Reporting, I need to copy the content of "what monitor is showing" to a file, in order to use for logging and error reporting,

As you might gussed, i'm newbie,

Plaase help,:confused:
Saeed144

I read that scrot -c -d 5 mydesktop.png
and xvidcap were able to do it.


All times are GMT -5. The time now is 10:57 AM.