Re: Couple questions about portable version of NVDA



To add a small note: in recent NVDA releases, add-ons can save their own settings and restore them to saved settings or to defaults if they choose to participate in config save/revert/restore mechanism. This is crucial, as it allows users of add-ons to be assured that add-ons that participate in this scheme can get a chance to flush settings away safely (provided no errors are encountered). Even though I wrote that code in NVDA Core, my add-ons didn’t adopt this scheme until late last year to guarantee backward compatibility for several months.

At the moment the only known add-on that participates in this scheme is StationPlaylist (mine) because it uses a configuration facility separate from NVDA. That add-on can save, revert, and restore settings, taking into account various scenarios where things can go wrong, provided that you invoke config save/revert/restore command from the keyboard or from NVDA menu. Sometime this summer I plan to teach Add-on Updater to take advantage of this scheme, and if time permits, also teach Golden Cursor.

As for the internals of how this scheme (rather, a collection of extension points) works, either talk to me directly or ask on NVDA development mailing list.




From: <> On Behalf Of Nimer Jaber
Sent: Thursday, June 27, 2019 8:32 PM
To: Group Moderators <>
Subject: Re: [nvda] Couple questions about portable version of NVDA


I am going to comment below on this saving settings thing, but I am shocked that this advice is being given to users. The actual hell?


On Thu, Jun 27, 2019 at 5:26 PM Gene <gsasner@...> wrote:

Unless you save the settings after you tell NVDA to use another voice, you can immediately revert to the voice that is in your saved configuration.  Just use the command control NvDA key r.  Even if you just change the reading speed of the voice in your saved configuration and want to set it back, you can use that command. 

Had this message ended here, I wouldn't comment. 


And I would strongly urge you to set NVDA not to automatically save settings when it closes so that any changes you make that are temporary won't accidentally be saved.  I think that automatic saving of settings on exit is an extremely poor default setting.  If it is off, you can change and experiment with any number of settings and not worry that they will accidentally be saved.  automatic saving of settings on exit doesn't assure this. 

What is so difficult about settings being inadvertently saved? You can always change them back to their defaults... You can change them again and exit and restart and they will be applied. In fact, you can change them and never worry about saving them because they will always be saved on exit.  

And what if you do something like reboot or shut down the computer.  NVDA will shut down and all temporary settings will now be permanent. 

Nothing is permanent. Why scare users by saying this crap? Change the setting again, next time NVDA starts your settings will be still applied.  


You can manually save settings with the command control NVDA key c.  So, as I said earlier, its control NVDA key r to return to the saved configuration and control NVDA key c to save whatever you have changed permanently.

Why remember that absolutely pointless command if your settings can always be saved when NVDA exits? Why have that extra step? Who cares if settings get inadvertently saved? You can unsave them. Before reboot you can revert them. After reboot you can change them back to whatever you want.  



----- Original Message -----

From: Luke

Sent: Thursday, June 27, 2019 6:14 PM

Subject: Re: [nvda] Couple questions about portable version of NVDA


Hi Luke! Yes, it worked! NVDA+ control + S Then a couple arrow ups brought me to Espeak. And if I wanted to change back to vocalizer same thing but arrow down a couple. Quite handy. Thanks! The world needs more Luke’s.  a

> On Jun 27, 2019, at 5:38 PM, Luke Davis <luke@...> wrote:
> Hi, supposedly less-good-looking other Luke.
> I know little and less about using vocalizer voices with NVDA, but I am reasonably sure that you can always switch back to eSpeak.
> It is possible to save configurations from within portable versions, so there is no need to generate a new portable copy just to change configurations, even synthesizer configurations.
> Launch your existing portable version, press NVDA+ctrl+s to open the synth settings dialog, press the up arrow a few times until you hear "eSpeak NG", and press enter.
> If it works to switch you to eSpeak, as it should, and you like the result, press NVDA+ctrl+c to save the current configuration.
> Now, if Vocalizer does something to munge up this process, everything I just said may be wrong, but I'm not sure why it would.
> In any case, it's worth a try. At worst you'll be left with no speech, and will have to restart with ctrl+alt+n, or whatever it is that you do to start NVDA.
> Well okay, at worstist, if you do end up with no speech, and the "save configuration on exit" setting (or the "Make sure all your mistakes are permanent ones" setting, as I call it) under general is set, you may end up breaking your portable copy. So maybe it's best to make sure that setting isn't set first (NVDA+ctrl+g).
> Luke (a proud eSpeak British English Max user since 2008)
>> On Thu, 27 Jun 2019, Luke wrote:
>> Also, I know Espeek is more responsive and to put Espeek with my current saved settings and add ons on a portable version I would have to disable my current vocalizer voice first right? Last but not least I noticed there is another Luke on here so please don’t get confused as he is probably smarter, more informative and better looking than me LOL.




Nimer Jaber

The message above is intended for the recipient to whom it was
addressed. If you believe that you are not the intended recipient,
please notify me via reply email and destroy all copies of this
correspondence. Action taken as a result of this email or its contents
by anyone other than the intended recipient(s) may result in civil or
criminal charges. I have checked this email and all corresponding
attachments for security threats. However, security of your machine is
up to you. Thanks.

Registered Linux User 529141.

To find out about a free and versatile screen reader for windows XP
and above, please click here:

You can follow @nimerjaber on Twitter for the latest technology news.

To contact me, you can reply to this email or you may call me at (970) (393-4481) and I will do my best to respond to you promptly. Thank
you, and have a great day!

Join to automatically receive all group messages.