Define browser to be used within wine

Questions about Wine on Linux
Locked
sheep225
Newbie
Newbie
Posts: 4
Joined: Wed Apr 13, 2016 11:40 am

Define browser to be used within wine

Post by sheep225 »

Hi there,

I'm running GSAK (Geocaching Swiss Army Knife) on Wine 1.6.2 under Linuxmint 17.3 Cinnamon. Everything is working well so far, just for one thing I need a workaround:
GSAK produces output as a HTML file, including graphics. The file opens automatically with the default Linux browser, but the graphics are stored under drive_C and therefore are not displayed as expected.

I think the solution would be to define a browser to be used within wine, so the HTML file should be displayed as it should be.

Can anyone show me how to force wine to use an other browser than the default Linux browser?
I just found tutorials to force the Linux browser, but nothing for the opposite way....
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Define browser to be used within wine

Post by dimesio »

Did you install wine-gecko? Wine should use that by default.

Also, your Wine version is over two years old and no longer supported; you should upgrade.
sheep225
Newbie
Newbie
Posts: 4
Joined: Wed Apr 13, 2016 11:40 am

Re: Define browser to be used within wine

Post by sheep225 »

I started with Wine (version 1.6.2 is included in the Mint/Ubuntu packages); now I installed wine-gecko from the packages.

Should I uninstall the plain wine package and just use wine-gecko instead? (version 2.21 is provided in the packages)
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Define browser to be used within wine

Post by dimesio »

You need both Wine and wine-gecko. Use the WineHQ packages for Wine, and install wine-gecko manually.
https://wiki.winehq.org/Ubuntu
https://wiki.winehq.org/Gecko
sheep225
Newbie
Newbie
Posts: 4
Joined: Wed Apr 13, 2016 11:40 am

Re: Define browser to be used within wine

Post by sheep225 »

Ok, now I have uninstalled wine and all stuff in it, the re-installed it as recommended. Gsak works fine as before, but I don't if something went wrong... in the Gecko link above it is stated that the msi files should be placed into /usr/share/wine/gecko, but I cannot find such a directory.
Is there a way I can check and/or force the installation?
Typing wine gecko into a terminal returns a "dll not found" error, so I think Gecko isn't installed at all...
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Define browser to be used within wine

Post by dimesio »

sheep225 wrote:in the Gecko link above it is stated that the msi files should be placed into /usr/share/wine/gecko, but I cannot find such a directory.
Create it.
Typing wine gecko into a terminal returns a "dll not found" error, so I think Gecko isn't installed at all...
The command is wine iexplore.
sheep225
Newbie
Newbie
Posts: 4
Joined: Wed Apr 13, 2016 11:40 am

Re: Define browser to be used within wine

Post by sheep225 »

Ok, the gecko directory still does not exist but with wine iexploer the browser opens. So this should not be the problem.
But the html file generated from GSAK still opens in Firefox and not with the gecko engine....
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Define browser to be used within wine

Post by dimesio »

Try installing IE8 in Wine. Use winetricks.
Locked