Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 May 2013 17:39:03 -0400
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        Matthias Apitz <guru@unixarea.de>,  "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: X11 screen grabber from cmd line
Message-ID:  <CAHHBGkqeH2652erui6Vp+B26WUFzVEdKrLXEMEWw5QG1=SE3Aw@mail.gmail.com>
In-Reply-To: <CAHHBGkrQC-QkFN2FPoDp3gYW9YnTMkgrq8i9F=R-ZBVfL2Yr=w@mail.gmail.com>
References:  <20130509184144.GA1354@tiny.Sisis.de> <CAHHBGkrQC-QkFN2FPoDp3gYW9YnTMkgrq8i9F=R-ZBVfL2Yr=w@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 9 May 2013 17:33, illoai@gmail.com <illoai@gmail.com> wrote:

>
> On 9 May 2013 14:41, Matthias Apitz <guru@unixarea.de> 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).

-- 
--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAHHBGkqeH2652erui6Vp+B26WUFzVEdKrLXEMEWw5QG1=SE3Aw>