Command line command to creat image of what is displayed on screen

Viktor Lazlo viktorlazlo at telus.net
Sun May 4 17:25:47 PDT 2003



On Sun, 4 May 2003, JoeB wrote:

> I am running FBSD 4.8 and there is no man page for  import.
> Are you sure import is part of the basic install.
>
> -----Original Message-----
> From: mpd [mailto:mpd at rochester.rr.com]
> Sent: Sunday, May 04, 2003 7:58 PM
> To: JoeB
> Cc: FBSDQ
> Subject: Re: Command line command to creat image of what is
> displayed on screen
>
> On Sun, May 04, 2003 at 07:50:27PM -0400, JoeB wrote:
> > Looking for command line command like ms/dos print screen keyboard
> > key.
> > Want to command to create image file of screen
> >
>
> import(1) will do this. Man page has examples.


import is part of the ImageMagick suite in /usr/ports/graphics.  If you
don't have this installed you can create a screen dump in X using:

xwd -frame -out default.xwd

or if you are not using X and want a graphic dump of a console window:

vidcontrol -p < /dev/whatever > outputfile.scr (or vidcontrol -P for a
text dump)

Cheers,

Viktor





More information about the freebsd-questions mailing list