[Wine] launching wine application for mozilla mail attachments
geisj at pagestation.com
Sun Dec 31 08:36:53 CST 2006
I did that and the file is put in the /tmp/filename.efx directory.
I tried manually running wine myapp.exe /tmp/filename.efx
and it wont open the file from the /tmp directory.
El dom, 31-12-2006 a las 08:58 -0500, Jerry Geis escribió:
/>/ I created the file, and clicked on my attachment. Wine does come up now
/>/ but the file is not loaded. Any thoughts on that? My file is this:
/>/ #!/usr/bin/env sh
/>/ /usr/local/bin/wine c:/windows/efaxview.exe $@
Try redirecting wine's output to a file and see what's going awry.
You probably want to surround $@ with double quotes to avoid problems
with file names containing white-space.
>/ L. Rahyen wrote:
/>/ > On Saturday December 30 2006 16:10, Jerry Geis wrote:
/>/ >> I am trying to get a wine application to launch
/>/ >> when I click on email attachments.
/>/ >> The error I get is "The application you specified wine
/>/ >> c:/windows/efaxview.exe could not be found"
/>/ >> How do I get a wine application to run when clicking
/>/ >> on an email attachment.
/>/ > It is possible that problem arises because string "wine
/>/ > c:/windows/efaxview.exe" interpreted like "wine\ c:/windows/efaxview.exe".
/>/ > And this is of course lead to such error. This is bug in your application and
/>/ > not in Wine. As workaround try the following. Open "/usr/bin/efaxview.exe" in
/>/ > your favorite text editor (as root). Then paste to this file command to run
/>/ > your Windows application:
/>/ > #!/usr/bin/env sh
/>/ > wine c:/windows/efaxview.exe $@
/>/ > Save it and close. Now execute (as root):
/>/ > chmod +x /usr/bin/efaxview.exe
/>/ > Now you can use efaxview.exe command from the shell to run it. Simply provide
/>/ > this short command without spaces to your program to open mail attachments.
/>/ > Hope this helps.
More information about the wine-users