Computers and Technology

NVDA working on wine

Started by destructatron 30 posts last post 3 years ago Page 1 of 2

#1 1 like

Hello all,
I have been able to get NVDA to work under wine. Currently, you have to dismiss the welcome to NVDA dialog every time you start it, but this should change soon if I can get an existing nVDA 2017.3 config. I have done a recording of how you should go about setting up in your prefixes, and can be found on my keybase. The link is https://keybase.pub/destructatron/nvda-on-wine.mp3
Enjoy!

#2 Edited Archived

I have an NVDA 2017.3 config from my XP virtualbox. If you tell me how to get the file, I'll send you it.

#3

Could you write a short text Aabout running nvda under wine?

#4

Sure I can do that, and I've fixed the config issue. Note to self, run NVDA with wine start nvda, don't start it from the program files directory. Here's a short text guide:
Export your wineprefix variable, we'll call the prefix nvda-test.
export WINEPREFIX=~/nvda-test
Now, create a 32 bit wine prefix with the following command:
WINEARCH=win32 winecfg
Wait until the wine configuration window appears, then close it. Now you need to ensure that winetricks is installed. Use your package manager to do this, then run the following command:
winetricks -q msaa riched30 riched20 speechsdk
If the speech SDK doesn't silent install, press alt A, then alt N a few times until you hear a sound, then press alt I and wait a few seconds, then press alt C or enter to close the installer once it's done. Now run the NVDA installer by changing directory to the directory containing the NVDA setup and run the following command:
wine start nvda_2017.3.exe
Now you'll hear the music and espeak. NVDA will not announce content state changes, for example when check boxes are checked and unchecked. It'll announce them if you alt tab and back, but not when you press space.
You'll get an error at the end of the installation, but you can safely ignore this. Now use ps-aux | grep nvda to find all the NVDA processes still running, and use kill to nuke them away.
Now, run wine start nvda and go through the welcome to NVDA dialog. You should now be able to play games with NVDA. If you want addons such as eloquence, unzip them and put them in the addons directory in your wine prefix. Make sure to run wine taskkill /f /im nvda.exe before making changes to the config file, because the NVDA menu isn't accessible at all.

#5

Hmm, did you try to configur nvda to start with wine? Maybe it will start when you run some application.
I'm asking about that because when you'll start nvda no window will be created, so YOU WILL NOT ABLE to run another application in this instance were nvda is running.

#6

Of course, espeak speaks when installer starts, but when i press install nvda on this pc the window disappears and i can't go through the next steps.

#7

The window will still be there. If you're using gnome or mate you'll be able to find it in the usual ways, but if you're using a window manager that's where things can be a little interesting, and if you have no way of switching between all windows like ratpoison does, it's very easy to lose focus.

#8

Hmm, i have a problem with rpc server. Nvda can't register via rpc server and installation fails. I tried with --install-silent.

#9

Did you use winetricks to install speechsdk, msaa, riched30 and riched20? If you're still getting errors, try winetricks winxp

#10

Yep, i've installed msaa, riched30, riched20 and speechsdk via winetricks, and tried with winetricks winxp and not works.

#11

What distro are you on? Arch Linux for example doesn't install some lib32 dependencies by default, and having dependencies suchas lib32libpulse and all the lib32 gstreamer stuff is a good start.

#12

I've installed each lib32 dependency and build some needed dependency from aur, because of no packaged version in official repos.

#13

I've never had the RPC server error on anything I've tested. I'm on 7.2, so make sure you're using that and not some really old version of wine you'll find in debian's repos.

#14 1 like Archived

And this is why I don't use Ubuntu Desktop anymore.

#15

I'm using arch.

#16

Try installing wine-mono and see if that does anything. If not try recreating your prefix with wine-mono installed.

#18

It worked, but the problem with rpc registration occurs over and over.

#19 1 like

If NVDA works fine with games, then you shouldn't have to worry about RPC stuff.

#20

Not works fine, don't read lists, freezes and when nvda works elten cannot start.