Date: Tue, 3 Mar 2009 11:55:40 +0100 From: cpghost <cpghost@cordula.ws> To: "Aryeh M. Friedman" <aryeh.friedman@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: OT: what is the X11 equiv of /dev/null Message-ID: <20090303105540.GA1015@phenom.cordula.ws> In-Reply-To: <49AC6EE2.1050601@gmail.com> References: <49ABA560.8050308@gmail.com> <64c038660903020908k285b3cbcr4dd810a51a94dcec@mail.gmail.com> <49AC5D7E.8040208@daleco.biz> <49AC6EE2.1050601@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090303105540.GA1015>