octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave wants to run startup configuration "wizard" in --no-gui mode


From: Pantxo Diribarne
Subject: Re: Octave wants to run startup configuration "wizard" in --no-gui mode
Date: Sat, 13 Jun 2015 14:23:00 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

Le 13/06/2015 12:38, Stefan Mahr a écrit :
I think there has been a subtle change in Octave --no-gui behavior in
the past ten or twenty changesets that wants to run the "first time use"
configuration wizard.  It may be this changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/6fe746def1aa
Also load settings and translations in --no-gui mode (bugs #44222 and
#45199)

Thanks for pointing to it. I wondered why my PPA build did not work, but
locally everything was fine.

Stefan
Oups, I hadn't thought of this side effect. The configuration wizard is the
only place where the user learns about where its settings will be stored.
That's why I enabled it even in --no-gui where settings are now also used.
On the other hand the only real configuration that this wizard currently
proposes is whether to show the news window, which is not relevant in
--no-gui mode.
I'll disable the wizard, until we find another solution (e.g. a --no-wizard
flag).

Pantxo
IMHO the --no-gui option always implies a --no-wizard flag.

Stefan


What if the wizard is ever used to configure settings that are also relevant in --no-gui mode (e.g. the language for the figure menus and tool-tips)?

I attached a patch that I'll push on stable if no one opposes.
Note however that the criteria to launch the wizard is the presence of an Octave settings file. I you first run --no-gui mode without a wizard, a settings file will be created anyway (because it is now needed). Now the first time you'll run octave in gui mode the wizard (and the configuration, information contained therein) won't show up as a configuration file already exists.

Pantxo


Attachment: remove_wizard.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]