On 9 May 2013 17:33, [email protected] <[email protected]> wrote:

>
> On 9 May 2013 14:41, Matthias Apitz <[email protected]> wrote:
>
>>
>> Hello,
>>
>> Do we have something in the ports which could do a screen shoot of
>> $DISPLAY, but
>> from the cmd line of an alpha console, and save it as PNG or JPEG?
>> Thx
>>
>>         matthias
>>
>
> I use a simple script:
> > cat scripts/screenshot
> #!/bin/sh
> xwd -root | xwdtopnm | pnmtopng > screenshot_${1}.png
>
> which uses x11/xwd & graphics/netpbm
>
> --
> --
>

I just realised you might mean the text console, in which case
ignore that.  Look at the -p & -P options to vidcontrol(1).

-- 
--
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to