Avoid the Gecko dialogue

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
etwineb
Level 4
Level 4
Posts: 101
Joined: Wed Dec 10, 2008 12:05 pm

Avoid the Gecko dialogue

Post by etwineb »

Can I use a wine command line argument (or anything other) to skip the `installing Gecko' dialogue?

I find it only annoying as I install Gecko via winetricks when needed and I usually have a wine prefix for each windows program I use.
Gert van den Berg

Avoid the Gecko dialogue

Post by Gert van den Berg »

Copy the cab to /usr/share/wine/gecko/
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

no... its highly annoying... a bad idea... yet they don't want to change it. They have "reasons" which are basically just a "quick fix" instead of doing things properly.

you can disable mshtml via command line, or in the registry (winecfg) to stop it from happening.
etwineb
Level 4
Level 4
Posts: 101
Joined: Wed Dec 10, 2008 12:05 pm

Post by etwineb »

Wow, while I find this feature annoying I would never appear angry or ungrateful with the wine team...

About your solution, it works great! Thanks a lot.

To anyone interested, if you want to update a wine prefix without seeing the Gecko installing dialogue you can use:

Assuming you correctly set WINEPREFIX...

Code: Select all

$ WINEDLLOVERRIDES="mshtml=" wineboot -u
Once done, you can alter the registry to make the dll overriding setting permanent.

If you actually want Gecko because you need html rendering you can simply use:

Code: Select all

$ WINEDLLOVERRIDES="mshtml=" wineboot -u
$ winetricks -q gecko
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

etwineb wrote:Wow, while I find this feature annoying I would never appear angry or ungrateful with the wine team...
oh I'm not, and didn't intend to appear that way... I think everyone knows there is lots of problems with Wine, and its far from a perfect product... but it is of course fantastic overall. I just think it would be nice if it was designed to only install things that really need to be installed for what your doing, and not throw the kitchen sink at everything. This is the most annoying problem in Wine to me right now, and its relatively a minor annoyance. You ought to hear me go on about most other software packages :-P

Glad that worked for you.. its what I use by default in Wineskin since without it while troubleshooting or installing something that will never need gecko, I might get the pop up like 20 times... and making the wrappers small is a good thing...
etwineb
Level 4
Level 4
Posts: 101
Joined: Wed Dec 10, 2008 12:05 pm

Post by etwineb »

Thats nice, it is somewhat similar to the reason of mine,
I made few Archlinux packages with win32 programs and I wrote a small wiki article with suggestion about how to make win32 packages.
Besides I find the wine menu quite unnatural for a linux desktop and it is confusing if anyone wants to install a program for all users.
Locked