Hi all
Running Ubuntu 20.04 with Wine 8.0. We have a custom developed Visual Basic 6.0 application linking up with SQL Server database hosted on our local network. 10 Users. Now that we are attempting to install this combination of utilities on 12th gen newer desktop PC's picking up very strange behaviour.
Most importantly, aside from a number of difficulties, is the fact that the Wine Registry keeps reverting back to some kind of default layout, based upon the Ubuntu regional locale settings. I need to have our South African registry setting in place, even important them when the application starts up, but the Wine registry keeps reverting back.
Please, does anyone know how to stop the Wine registry revert back? And if not, where does Wine generate its reverted registry from, there must be some hidden registry file, or does it look at Ubuntu regional setttings and grab the localisation settings from there?
We have been running fine for 7 years on Ubuntu 18.04, and if we cannot overcome this problem we will have to revert back to 18.04.
So many things have changed in Ubuntu 20.04 and 22.04 but that is a nightmare for another post.
Wine Registry Keeps reverting
Re: Wine Registry Keeps reverting
Wine adapts the registry key HKCU\Control Panel\International to the OS settings. You can override this with the LC_ALL variabele.
Code: Select all
# Make sure a South African locale is availabe
locale -a
af_ZA.utf8
C
C.utf8
de_DE.utf8
en_US.utf8
...
# Run Wine with
LC_ALL=af_ZA.utf8 wine program.exe