From owner-freebsd-questions@FreeBSD.ORG Fri May 10 07:39:47 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id F3BD4605; Fri, 10 May 2013 07:39:46 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id BB8F96BA; Fri, 10 May 2013 07:39:46 +0000 (UTC) Received: from r56.edvax.de (port-92-195-71-6.dynamic.qsc.de [92.195.71.6]) by mx02.qsc.de (Postfix) with ESMTP id 322E8276BE; Fri, 10 May 2013 09:39:44 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r4A7dr75002762; Fri, 10 May 2013 09:39:53 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 10 May 2013 09:39:53 +0200 From: Polytropon To: Matthias Apitz 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> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Matthew Seaman , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 May 2013 07:39:47 -0000 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, ...