http://bugs.winehq.org/show_bug.cgi?id=12617
Summary: winebrowser does not handle commands with arguments Product: Wine Version: 0.9.59. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: programs AssignedTo: wine-bugs@winehq.org ReportedBy: yuriy.kozlov@gmail.com
winebrowser doesn't work with browsers/commands that are more than one word. For example, the command to run konqueror with the webbrowsing profile on kubuntu is:
kfmclient openProfile webbrowsing [url]
Setting that to be the first attempted webbrowser in the registry:
[HKEY_USERS\S-1-5-4\Software\Wine\WineBrowser] "Browsers"="kfmclient openProfile webbrowsing,firefox,mozilla,opera,dillo"
and running: winebrowser http://www.winehq.org
yields this: Considering: kfmclient openProfile webbrowsing argv[1]: http://www.winehq.org Considering: firefox argv[1]: http://www.winehq.org
I sent in a patch for this a while ago, this is the latest revision: http://www.winehq.org/pipermail/wine-patches/2007-January/034937.html The patch had some problems and I haven't gotten back to working on it. Now it probably needs to be updated for the latest changes to winebrowser. As part of the solution, the patch changes the registry key that stores the browsers to try to a REG_MULTI_SZ value. Since this changes the wineprefix, this should be fixed before 1.0.