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.
http://bugs.winehq.org/show_bug.cgi?id=12617
Yuriy Kozlov yuriy.kozlov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |yuriy.kozlov@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=12617
Hans Leidekker hans@it.vu.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@it.vu.nl
--- Comment #1 from Hans Leidekker hans@it.vu.nl 2008-04-16 15:10:30 --- Is xdg-utils installed on your system? If so, Wine with default settings should already give you the behavior you describe.
http://bugs.winehq.org/show_bug.cgi?id=12617
--- Comment #2 from Yuriy Kozlov yuriy.kozlov@gmail.com 2008-04-16 18:59:47 --- This isn't about default settings. This is about being able to manually* set winebrowser to launch something with arguments.
*with regedit, or with some configuration module or script. I ran into this when trying to create a default browser setting for wineconfig (a KDE configuration module for wine).
http://bugs.winehq.org/show_bug.cgi?id=12617
--- Comment #3 from Austin English austinenglish@gmail.com 2008-10-17 15:05:12 --- Is this still an issue in current (1.1.6 or newer) Wine?
http://bugs.winehq.org/show_bug.cgi?id=12617
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |ABANDONED
--- Comment #4 from Austin English austinenglish@gmail.com 2009-04-17 14:22:38 --- No response in 6 months => abandoned. If you still have problems in current (1.1.19 or newer) wine and can provide the requested information, feel free to reopen.
http://bugs.winehq.org/show_bug.cgi?id=12617
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Austin English austinenglish@gmail.com 2009-04-17 14:34:23 --- Closing.