Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: Capture screenshot in suse 10.0

Roy Schestowitz wrote:
>
> 
> Also see the more flexible command-line tool, which is called 'import' (run
> 'man import' for some details and example).

Import is a feature of ImageMagick. To grab a shot of the whole
screen from the command line without X (yes, no X involved at
all) you first go to a virtual terminal by ctrl+Alt+f1 (or any of
f1 to f6) and give the command:

chvt 7; sleep 2;import -display :0.0 -window root sshot 1.png;
chvt 1;

Put the whole command in one line. The chvt command changes the
virtual terminal, and the sleep command gives it time to redraw
the screen. The import command captures the whole display and
saves it to file 1.png before the last chvt puts you back to the
virtual terminal.

Vahis
-- 
No dual or multi booting, every OS runs simultaneously. FAQ:
http://waxborg.servepics.com/mobile/articles/vmware.html
Playing multimedia in SUSE 10.0:
http://waxborg.servepics.com/English/Linux/susemultimedia.en.html

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index