[Wine] Re: Pegasus Mail: Opening HTTP links in linux browser

Saulius Krasuckas saulius2 at ar.fi.lt
Sat Aug 28 12:45:56 CDT 2004

On Sat, 28 Aug 2004, Timo Steuerwald wrote:
> Am 27 Aug 2004 um 23:14 hat Saulius Krasuckas geschrieben:
> > IMHO winebrowser application, which comes with Wine should suffice for
> > that task.  I've found one message [1] on the wine-devel list with the
> > patch, in which you can find winebrowser using some registry key.  
> > Here it is:
> > 
> > [HKEY_LOCAL_MACHINE\software\wine\config\winebrowser\browser]
> > @="mozilla,netscape,konqueror,galeon,opera"
> In which file should I add/modify this line? - I can't find an entry beginning with 
> "[HKEY_LOCAL_MACHINE\" in user.reg or system.reg.

Just a few moments ago I have installed recent Wine and found, that it has
no such registry key.  Also I've took a look into the source code of
winebrowser [2] and saw:  it is using "Software\Wine\WineBrowser"  key at

> What I've found is the following item in user.reg:
> [Software\\Wine\\WineBrowser] 1088978394
> "Browsers"="sensible-browser"
> What means "sensible-browser"????  BTW: Can anybody explain which meaning the 
> numbers at the end of the headline of a registry item has?

It seems you're using Debian, which folks have changed default content of
this value [3] to fix some bug.  IMHO the "sensible-browser" is some kind
of auto-detecting utility too, only for the Debian distro [4].  Maybe you
should go configuring it and not the "winebrowser"?

I don't know much about the numbers which Wine uses when storing the
registry data, either.  And you can always use the "regedit" and edit this
value in your way:

HKEY_CURRENT_USER -> Software\Wine\WineBrowser -> Browsers

> The "link" (or whatever it exactly is) "winebrowser" works also in my installation. 
> "winebrowser <URL>" starts mozilla with the used URL, but it isn't registered as as 
> default browser. 

IMHO these tricks come from the "sensible-browser".  Check it just out of
curiosity with:

$ wich sensible-browser

> Pegasus Mail also don't start mozilla if I even use "winebrowser" as 
> user defined web browser via the settings dialog.

I would try tuning the "sensible-browser" utility, which seems to use
BROWSER environment variable [4], [5].  There is no such variable used at
my (RH) linux box:

$ set | grep -i browser

[2] http://source.winehq.org/source/programs/winebrowser/main.c
[3] http://lists.debian.org/debian-devel-changes/2004/06/msg01708.html
[4] http://annys.eines.info/cgi-bin/man/man2html?sensible-browser+1
[5] http://www.catb.org/~esr/BROWSER/

More information about the wine-users mailing list