July 21, 2018

Getting wine 3.0 working on ubuntu 18.04

Wine stable on ubuntu 18.04 seems to have broken auto-fetching gecko, which can break many installers with EULAs.

You can see this happen with wine iexplore https://google.com or such, you will get an error like

Could not load wine-gecko. HTML rendering will be disabled.
0009:err:mshtml:create_document_object Failed to init Gecko, returning CLASS_E_CLASSNOTAVAILABLE

I ran into it with diabloII installers not being able to show and accept EULAs.

The site has instructions explaining that the auto-installer would just grab the msis and plop em in the correct spot, which can also be done manually. Here's a quick and dirty on how to install wine and get gecko working:

  1. Install wine if you havent with sudo apt install wine-stable
  2. sudo mdkir /usr/share/wine/gecko && cd /usr/share/wine/gecko
  3. sudo wget http://dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86_64.msi
  4. sudo wget http://dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86.msi
  5. verify it works with wine iexplore https://google.com

Previous post
Detecting simple metrics in Angular Here is how to cover collecting metrics (or events if you prefer) such as or events on DOM elements across an entire Angular2+ project. This has
Next post
Diskpart/etcher errors - Wiping a removable/SDcard on win10 Tools like etcher use 'clean' command to nuke the partitions. On windows 10 this often will fail everytime when you try to image a disk that was