🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.windows.x.i386unix
5 messages
5 total messages Started by Joaquin Lago Sun, 11 Jan 1998 00:00
How prevent a window from appearing?
#445
Author: Joaquin Lago
Date: Sun, 11 Jan 1998 00:00
20 lines
1770 bytes
Hi!
How can I prevent an X-application to show its window?
I've got an application that accepts some data from the command line,
processes it
and outputs a file with the result. However, the appication was designed
to let
the user modify some parameters through a graphical interface. I don�t
need it, and there
is no interaction with the user (I just use the application as a
converter), but I don�t know
how to prevent the window to appear for a couple of seconds.
Maybe there is a way to "redirect" the DISPLAY to a null port, or
something like
that.
Can anyone help me, please?
Thanks a lot!
Joaquin

jlago@iname.com
Re: How prevent a window from appearing?
#446
Author: Ralf Döblitz
Date: Sun, 11 Jan 1998 00:00
26 lines
2248 bytes
Joaquin Lago <jlago@iname.com> schrieb in de.comp.x11:
>Hi!
>How can I prevent an X-application to show its window?
>I've got an application that accepts some data from the command line,
>processes it
>and outputs a file with the result. However, the appication was designed
>to let
>the user modify some parameters through a graphical interface. I don�t
>need it, and there
>is no interaction with the user (I just use the application as a
>converter), but I don�t know
>how to prevent the window to appear for a couple of seconds.
>Maybe there is a way to "redirect" the DISPLAY to a null port, or
>something like
>that.

You could run the Xvfb virtual frame buffer Xserver and set DISPLAY to
that server. But I doubt that this would speed up anything, the
additional memory consumption would rather slow down everything, IMHO.

Ralf
-- 
Ralf Doeblitz,   Schapenstr. 6,   38104 Braunschweig,   Germany
mailto:doeblitz@gmx.de                Phone/Fax: +49-531-360923
http://members.aol.com/Doeblitz/
Re: How prevent a window from appearing?
#447
Author: Kaleb S. KEITHLEY
Date: Sun, 11 Jan 1998 00:00
34 lines
2222 bytes
Joaquin Lago wrote:
> 
> How can I prevent an X-application to show its window?
> I've got an application that accepts some data from the command line,
> processes it
> and outputs a file with the result. However, the appication was designed
> to let
> the user modify some parameters through a graphical interface. I don´t
> need it, and there
> is no interaction with the user (I just use the application as a
> converter), but I don´t know
> how to prevent the window to appear for a couple of seconds.
> Maybe there is a way to "redirect" the DISPLAY to a null port, or
> something like that.

For that "null port" you can use the Xvfb (X Virtual Frame Buffer)
server.

Xvfb has shipped with every X Consortium release since X11R6(.0).

If your vendor doesn't ship X11R6.x, I encourage you to call your sales
office and ask them for it. If your vendor ships X11R6.x but doesn't
ship Xvfb I encourage you to do likewise.

Otherwise you can build it from source, which is available at
ftp://ftp.x.org/pub/R6.3/tars.

--

Kaleb S. KEITHLEY
Re: How prevent a window from appearing?
#443
Author: Oleg N. Yakovlev
Date: Tue, 13 Jan 1998 00:00
26 lines
2153 bytes
Joaquin Lago wrote:
> 
> Hi!
> How can I prevent an X-application to show its window?
> I've got an application that accepts some data from the command line,
> processes it
> and outputs a file with the result. However, the appication was designed
> to let
> the user modify some parameters through a graphical interface. I don�t
> need it, and there
> is no interaction with the user (I just use the application as a
> converter), but I don�t know
> how to prevent the window to appear for a couple of seconds.
> Maybe there is a way to "redirect" the DISPLAY to a null port, or
> something like
	You can try set -iconic flags at start. It is not full redirect,
	but very easy:-)

	Best regards,
-- 
     O       Oleg N. Yakovlev,   O P T I M A    S E R V I S    S V I A Z
  O-___-O    320030, 4, Shirshova St., Dnepropetrovsk, Ukraine
 O-------O   e-mail: yashka@optima.dnepropetrovsk.ua       
  O-~~~-O    tel: +38-0562-35-00-20, +38-0562-78-61-47
     O       fax: +38-0562-78-64-00
Re: How prevent a window from appearing?
#444
Author: Juan Fco. de Borja Pardo Pastran...
Date: Thu, 15 Jan 1998 00:00
38 lines
2877 bytes
Joaquin Lago wrote:
> 
> Hi!
> How can I prevent an X-application to show its window?
> I've got an application that accepts some data from the command line,
> processes it
> and outputs a file with the result. However, the appication was designed
> to let
> the user modify some parameters through a graphical interface. I don�t
> need it, and there
> is no interaction with the user (I just use the application as a
> converter), but I don�t know
> how to prevent the window to appear for a couple of seconds.
> Maybe there is a way to "redirect" the DISPLAY to a null port, or
> something like
> that.
> Can anyone help me, please?
> Thanks a lot!
> Joaquin
> 

I think the only way to do that is giving an option to the program, if
it has this option. XV (a program to display jpgs, gifs, etc...), for
example, has an option not to show its window. Read the man page for the
application if provided...

-- 
         ***************************************************************
    +O+  * Borja Pardo Pastrana       * "Tener no es signo de malvado, *
     #   * Lab. de Teleinform'atica   *  y no tener tampoco es prueba  *
     #   * Facultad de Inform'atica   *  de que acompa~ne la virtud,   *
    _#_  * Madrid                     *  pero el que nace bien parado  *
   ( # ) * E-mail:                    *  en procurarse lo que anhela   *
   / O \ * borja@venus.ls.fi.upm.es   *  no ha de invertir salud."     *
  ( === )* borja@pegaso.ls.fi.upm.es  *           Cancion de Navidad   *
   `---' * Telefono Lab.: 3367393     *            Silvio Rodriguez    *
         ***************************************************************
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads