Timo Steuerwald
2004-Aug-27 10:03 UTC
[Wine]Pegasus Mail: Opening HTTP links in linux browser
Hello together, i would like to open HTTP links in common linux browsers. So, how must I configure Pegasus Mail and wine to do so? I've found the following posting about a similar problem from Rein Klazes here: http://www.winehq.org/hypermail/wine-users/2003/12/0053.html OK, I tried this... in system.reg: [Software\\CLASSES\\htmlfile\\shell\\open\\command] 1093618289 @="\"C:\\Program Files\\Konqueror\\konqueror %1\"" [Software\\CLASSES\\http\\shell\\open\\command] 1093618289 @="\"C:\\Program Files\\Konqueror\\konqueror %1\"" konqueror.exe looks like this: #!/bin/sh echo starting konqueror $1 if [ "$1" != "" ]; then /usr/bin/konqueror "$1" fi But it didn't works even if Pegasus Mail should use the konqueror.exe file directly (user defined browser was defined about the file open dialog). Running wine with --debugmsg +reg doesn't output any registry operations. I also tried this with another application, Total Commanders "Help->Visit Totalcmd's Web Site" menu item, same result. :-( The script itself is ok, i can start it i.e. per Total Commander build-in command line. Any clues? Bye, Timo
Saulius Krasuckas
2004-Aug-27 16:14 UTC
[Wine] Re: Pegasus Mail: Opening HTTP links in linux browser
On Fri, 27 Aug 2004, Timo Steuerwald wrote:> Hello together, > > i would like to open HTTP links in common linux browsers. So, how must I configure > Pegasus Mail and wine to do so? > > I've found the following posting about a similar problem from Rein Klazes here: > http://www.winehq.org/hypermail/wine-users/2003/12/0053.htmlI am sorry for ignoring the rest of your analysis. 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" IMHO you only need to adjust the default value of this branch of a registry. [1] http://www.winehq.org/hypermail/wine-devel/2004/01/0109.html
Timo Steuerwald
2004-Aug-28 05:55 UTC
[Wine] Re: Pegasus Mail: Opening HTTP links in linux browser
Am 27 Aug 2004 um 23:14 hat Saulius Krasuckas geschrieben:> On Fri, 27 Aug 2004, Timo Steuerwald wrote: > > Hello together, > > > > i would like to open HTTP links in common linux browsers. So, how must I configure > > Pegasus Mail and wine to do so? > > > > I've found the following posting about a similar problem from Rein Klazes here: > > http://www.winehq.org/hypermail/wine-users/2003/12/0053.html > > I am sorry for ignoring the rest of your analysis. 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" > > IMHO you only need to adjust the default value of this branch of a > registry. >Hi Saulius! Thanks for the answer! 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. 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? 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. Pegasus Mail also don't start mozilla if I even use "winebrowser" as user defined web browser via the settings dialog. Any ideas? Bye, Timo
On Fri, 27 Aug 2004 17:03:44 +0200, you wrote:> Hello together, > > i would like to open HTTP links in common linux browsers. So, how must I configure > Pegasus Mail and wine to do so? > > I've found the following posting about a similar problem from Rein Klazes here: > http://www.winehq.org/hypermail/wine-users/2003/12/0053.html > > OK, I tried this... > in system.reg: > > [Software\\CLASSES\\htmlfile\\shell\\open\\command] 1093618289 > @="\"C:\\Program Files\\Konqueror\\konqueror %1\"" > > [Software\\CLASSES\\http\\shell\\open\\command] 1093618289 > @="\"C:\\Program Files\\Konqueror\\konqueror %1\"" > > konqueror.exe looks like this: > > #!/bin/sh > echo starting konqueror $1 > if [ "$1" != "" ]; then > /usr/bin/konqueror "$1" > fi > > But it didn't works even if Pegasus Mail should use the konqueror.exe file directly > (user defined browser was defined about the file open dialog).It does not work here either (I get a crash). Fortunately you don't need it with Pegasus, see below.> Running wine with --debugmsg +reg doesn't output any registry operations.What version of wine are you using? The --debugmsg option has been replaced ages ago. You must now run wine like: WINEDEBUG=+reg wine ...> > I also tried this with another application, Total Commanders "Help->Visit Totalcmd's > Web Site" menu item, same result. :-( > The script itself is ok, i can start it i.e. per Total Commander build-in command line.I have in my home directory (H: for wine) this script: $ cat mozilla #!/bin/sh echo $0 unset TMP TEMP /usr/bin/mozilla "$@" Under Pegasus option_>hyperlinks I have "H:\mozilla" Make sure the option "Find browser automatically" is disabled. Rein. -- Rein Klazes rklazes@xs4all.nl