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

2009-03-03 Thread cpghost
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/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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

2009-03-02 Thread Aryeh M. Friedman

Kevin Kinsey wrote:

Modulok wrote:
I was thinking is there someway to direct a X11 app to target the 
X11 equiv of /dev/null ?


...what? What problem are you trying to solve, exactly?
-Modulok-


I'd have to assume he wants to call a remote X program from his terminal
and not have the program's output clutter it up.

My usual workaround is:

1.  "xterm &" in Terminal one.
2.  "appname &" in the new Xterm, then CTL-D.

I also have a couple of buttons in XFCE that simply call
"ssh $somehost $someapp".  I've no idea where it puts
the stderror/stdout, but I never see it.

Kevin Kinsey
Not quite what I want is to have it so no graphic (non-virtual) output 
is sent

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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

2009-03-02 Thread Kevin Kinsey

Modulok wrote:

I was thinking is there someway to direct a X11 app to target the X11 equiv of 
/dev/null ?


...what? What problem are you trying to solve, exactly?
-Modulok-


I'd have to assume he wants to call a remote X program from his terminal
and not have the program's output clutter it up.

My usual workaround is:

1.  "xterm &" in Terminal one.
2.  "appname &" in the new Xterm, then CTL-D.

I also have a couple of buttons in XFCE that simply call
"ssh $somehost $someapp".  I've no idea where it puts
the stderror/stdout, but I never see it.

Kevin Kinsey
--
Surely you cant be serious."
"I am serious, and dont call me Shirley.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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

2009-03-02 Thread Modulok
>> I was thinking is there someway to direct a X11 app to target the X11 equiv 
>> of /dev/null ?

...what? What problem are you trying to solve, exactly?
-Modulok-

On 3/2/09, Aryeh M. Friedman  wrote:
> I often want to run applications from my PC (actually the dual boot
> partition on my desktop 7.1) on one of the X11 capable 7.1 machine at
> work (identical configs except for dual booting) and want to be able to
> open applications (like deluge) on the work machine that require a X11
> server... I was thinking is there someway to direct a X11 app to target
> the X11 equiv of /dev/null ?
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"