From owner-freebsd-questions@FreeBSD.ORG Tue Mar 3 10:55:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DD89106564A for ; Tue, 3 Mar 2009 10:55:43 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id 3411F8FC15 for ; Tue, 3 Mar 2009 10:55:43 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from phenom.cordula.ws (phenom [192.168.254.60]) by fw.farid-hajji.net (Postfix) with ESMTP id B4E9932C05; Tue, 3 Mar 2009 11:55:40 +0100 (CET) Date: Tue, 3 Mar 2009 11:55:40 +0100 From: cpghost To: "Aryeh M. Friedman" Message-ID: <20090303105540.GA1015@phenom.cordula.ws> References: <49ABA560.8050308@gmail.com> <64c038660903020908k285b3cbcr4dd810a51a94dcec@mail.gmail.com> <49AC5D7E.8040208@daleco.biz> <49AC6EE2.1050601@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49AC6EE2.1050601@gmail.com> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-questions@freebsd.org Subject: Re: OT: what is the X11 equiv of /dev/null X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 10:55:43 -0000 On Mon, Mar 02, 2009 at 06:42:26PM -0500, Aryeh M. Friedman wrote: > >>>> I was thinking is there someway to direct a X11 app to target the > >>>> X11 equiv of /dev/null ? > > Not quite what I want is to have it so no graphic (non-virtual) output > is sent How about setting up an X server on another machine (or another console), and redirect the output of your X11 app to it by setting DISPLAY accordingly? Something like: % env DISPLAY=mynullhost:10.0 myxapp % env DISPLAY=:1.0 myxapp Or, if you start your app from within X and just want to hide its windows, you could also try to configure your favorite window manager to automatically hide all windows from a particular application (if your wm allows it and if your X11 app tells its name in an X11 resource (check out RESOURCES in X(7), and -xrm)). -cpghost. -- Cordula's Web. http://www.cordula.ws/