Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 May 2013 09:39:53 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        Matthew Seaman <matthew@freebsd.org>, freebsd-questions@freebsd.org
Subject:   Re: X11 screen grabber from cmd line
Message-ID:  <20130510093953.86dafd32.freebsd@edvax.de>
In-Reply-To: <20130510072906.GA1446@tiny.Sisis.de>
References:  <20130509184144.GA1354@tiny.Sisis.de> <20130510080943.8ff99fa2.freebsd@edvax.de> <518CA081.3080308@freebsd.org> <20130510072906.GA1446@tiny.Sisis.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 10 May 2013 09:29:07 +0200, Matthias Apitz wrote:
> El d=EDa Friday, May 10, 2013 a las 08:23:45AM +0100, Matthew Seaman escr=
ibi=F3:
>=20
> > You're somewhat missing the point here, I'm afraid.  There are many
> > alternatives for grabbing screen shots from *within* an X session
> > itself.  What the OP wants is a way to grab a screenshot of an X session
> > from a different, non-graphical terminal.
> >=20
>=20
> Exactly! But, more: the launched tool (which has access via $DISPLAY to
> the X server) must grab the screen *without* any further interaction on
> the screen (i.e. selecting a region or a mouse click is not an option);
>=20
> thanks for all the pointers, I will test and see what fits;

Exactly that's what has been my suggestion (without having been
mentioned): both "xwd" and "import" support a -display option.
In case the root window (equals the whole screen) is captured,
no further interaction is required (at least in case of xwd).
This makes it easy to obtain screenshots non-interactively
(e. g. time-triggered) from "outside" the X session.


--=20
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130510093953.86dafd32.freebsd>