Re: [linux-audio-dev] Re: ZynAddSubFX 2.2.1 released

From: Jens M Andreasen <jens.andreasen@email-addr-hidden>
Date: Thu May 12 2005 - 02:59:53 EEST

On Wed, 2005-05-04 at 17:07 +0200, Alberto Torres wrote:
> And what about a commandline option like --no-gui?
>
.. or like -invisible (sorry, make that ---invisible)

How is '--no-gui' better than 'unset DISPLAY'
How is '--display ' better than '-display'
How come everybody want's to reinvent UNIX with their own name on it

<tin-foil-hat-on>

:(

<tin-foil-hat-off>

The way I see it, when running from init, DISPLAY is always unset and
the app won't fail if it looks at the environment variable before
attempting to do anything stupid. The app is a synthesizer, so can
probably (or at least potentially) be controlled even better via midi.

Running under X, you can just minimize or hide it, to get rid of UI. Or,
like I said, do an 'unset DISPLAY' and check it before attemting to
dynamically link with qt, gtk and/or whatnot.

> 2005/5/3, Jens M Andreasen <jens.andreasen@email-addr-hidden>:
> > On Tue, 2005-05-03 at 18:42 +0300, Juhana Sadeharju wrote:
> > > >From: Jens M Andreasen <jens.andreasen@email-addr-hidden>
> > > >
> > > >Suggestion for running headless:
> > > >
> > > > if(getenv("DISPLAY"))
> > > > isGraphic = TRUE;
> > > > else
> > > > isGraphic = FALSE;
> > >
> > > I hope there is a command line option for turning the
> > > GUI off. Otherwise I would always get the GUI.
> >
> > You could do
> >
> > $ unset DISPLAY && path/to/command
>

-- 
   (
    )
  c[]  //  Jens M Andreasen
Received on Thu May 12 04:15:13 2005

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 04:15:14 EEST