Wine's FAQ has the following question under 7.3:> I want my Windows application to be able to launch a Linux > application to open documentsAnswer:> You can start Linux applications directly from Wine only if you > specify full path or use shell:> /usr/bin/glxgears > # or > /bin/sh -c glxgearsThis advice is wrong or at best incomplete. I have tried it out configuring a Windows file manager: it gets confused by the slash in the path. Even something in the form "z:\\usr\\bin\\glxgears" fails. Does it work in some (unnamed) Windows applications? Maybe, but I doubt it. Indeed, if I put a Linux application in Wine's ..\drive_c\windows and browse to it in Wine, Wine tells me "bad EXE format" when I want to launch it. As far as I can see, answer 7.3 in the FAQ is totally misleading.
frank wrote:> This advice is wrong or at best incomplete. I have tried it out > configuring a Windows file manager: it gets confused by the slash > in the path. Even something in the form "z:\\usr\\bin\\glxgears" fails.Used to work. Wine itself can start apps with the full UNIX path. Dunno about other programs you are talking about.
Frank, I think you're wrong Here's an example, Lotus Notes Client let you configure which browser to launch to open http link embedded in email. I've configured it as "z:\usr\bin\firefox" and whenever i click on a http link in an email it launches flawlessly firefox for linux pointing at the right page. Moreover, I've made a script that associate every mime type known by linux in wine so that whenever a windows application has to open a file wine can launch the default, in my case kde, desktop manager application associated with the extension.
David Gerard wrote:> 2009/4/27 occhigrigi <wineforum-user at winehq.org>: > > > > Frank, I think you're wrong > > Here's an example, Lotus Notes Client let you configure which browser to launch to open http link embedded in email. I've configured it as "z:\usr\bin\firefox" and whenever i click on a http link in an email it launches flawlessly firefox for linux pointing at the right page. > > > > > Well, evidently it doesn't work for him with the apps specified! So > clearly there's something not working properly there - whether it's > Wine or the app itself being fussy in some as-yet-unknown way. First > step would be for Frank to report it as a bug. It's the sort of thing > that *should* work for integration with one's X desktop. > > > - d.If people want to start an app using the unix path, they can do wine start /Unix ~/.wine/drive_c/path/to/foo.exe
Excuse me, i don't understand Try with winefile, browse to z:\usr\bin, launch an application, it starts !! Winefile is a wine application, tried with another, windows only, file manager, cubic explorer ... Browsed to z:\usr\bin, double clicked on a linux executable, it starts normally.
frank wrote:> occhigrigi wrote: > > > Excuse me, i don't understand > > Try with winefile, browse to z:\usr\bin, launch an application, it starts !! > > > > Winefile is a wine application, tried with another, windows only, file manager, cubic explorer ... Browsed to z:\usr\bin, double clicked on a linux executable, it starts normally. > > > > > Please try the following: browse in Wine to /bin/nano and start it.Nano is located in /usr/bin on my system, but it starts up just fine when I double click it in winefile. So does Open Office. I also tested Vi, which is in /bin, and that worked too. Now, what doesn't work is launching a program from the two apps you linked to. You need to file bugs for those apps. And lose the attitude.