OT: what is the X11 equiv of /dev/null

cpghost cpghost at cordula.ws
Tue Mar 3 02:55:43 PST 2009

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)).


Cordula's Web. http://www.cordula.ws/

More information about the freebsd-questions mailing list