Hi, I use K-Meleon under wine as browser, and Thunderbird (linux version) as mail client. When I click on a link in Thunderbird, K-Meleon is opened, but the parameter isn't sent, instead of it I have just '%u', the parameter I have put on the line in default programs to say to pass the real parameter. K-Meleon receive %u and modify the address to http://www.%u.com/ Is it a thunderbird or a wine bug, or have I missed something ? Thanks A+
JujuLand46 wrote:> Hi, > > I use K-Meleon under wine as browser, and Thunderbird (linux version) as mail client. > > When I click on a link in Thunderbird, K-Meleon is opened, but the parameter isn't sent, instead of it I have just '%u', the parameter I have put on the line in default programs to say to pass the real parameter. > > K-Meleon receive %u and modify the address to http://www.%u.com/ > > Is it a thunderbird or a wine bug, or have I missed something ? >You have to pass the actual parameter. %u will not work. James McKenzie
Thanks for the answer, but it doesn't make me happy. It obviously works with a linux browser, so I presume it's a bug of wine. Or perhaps a limitation which can't be cleared ? It would be interesting to have the info. I can perhaps manually copy the link and try to paste it in the URL bar, but I'm not sure, having read some post about clipboard problems, that it will works. And it's a pain to have to make it manually. A+
JujuLand46 wrote:> K-Meleon receive %u and modify the address to http://www.%u.com/There is no such expansion in windows shellexec.
I have read with more attention all the comments of the bug related by demesio, and all the comments are about file association, which isn't my problem. My problem is about how wine can receive a parameter from a linux program. I'm using Ubuntu, and in my case it's how to send a parameter from Linux Thunderbird to windows K-Meleon program. The way Ubuntu knows the program to use (mail client and browser) to open an URL is set by the tool 'Prefered programs'. This is the same parameter that when opening a local html file. For an HTML file, the command : program %U works correctly. If I delete %U, the program is launched without opening the file. So I think it's obviously necessary to add %U For an URL passed from Thunderbird to K-Meleon (with the use of wine, obviously), same result, except the parameter isn't passed by Thunderbird, or not received by wine. I think the way used is different for Nautilus and Thunderbird. If I replace a personnalized program with a program set in the list, it works. Maybe when in the list, the parameters aren't read the same way, and wine is also able to read it and then send it to K-Meleon. I'm really lost in these problems, because I'm a newbee in Linux. Thank for your advice about the fact to fill a bug for this problem, and how to write it, because I think I don't explain clearly my problem. A+
Hum ... it's not me who wants to pass a parameter to another program, it's the program which must do it. It's not a macro or an extension, it's the normal use of a program, and I beg Thunderbird uses the way commonly used by other programs to pass parameters. When I use a native Linux browser instead of K-Meleon and wine, it works, so I presume the problem is in wine which isn't able to receive the parameter. In fact I just have made a tool to look for the parameter, and I found no parameter passed by wine. I will try to post on Thunderbird forums, but I don't think to have an answer. A+
Hi, I have post a message on Mozillazine forum and the answer was to replace %U by %s. And it works :D Here is a link for more explanations. Mozillazine thread (http://forums.mozillazine.org/viewtopic.php?f=30&t=1256885) Default Browser (http://kb.mozillazine.org/Default_browser) Thanks A+