James Knott wrote:
Ken Schneider wrote:
On Tue, 2005-08-09 at 13:17 -0400, James Knott wrote:
I'm trying to set up Word Viewer in Wine. While I can run it and even get it to load the document, from the command line, I can't seem to open it, with the document loaded, from the desktop. I've been trying to figure out how to pass the parameter (file name) to the app, in the Contro Center file associations. No matter what I do, I can only open the app, without the document loaded.
Any ideas?
tnx jk
It is always helpful to show what you have tried so we have a base that we can start from.
In the the file associations for msword, I have the command /home/jknott/bin/wordview
The contents of /home/jknott/bin/wordview is (all on one line) /usr/bin/wine "/home/jknott/.wine/drive_c/Program Files/WordView/WORDVIEW.EXE" $1
When I run the wordview script with a filename, Word Viewer opens with the document. When launched from the desktop, it doesn't.
The same problem applies, if I configure the file associations to run wine & WORDVIEW.EXE directly.
Forgot to mention, I have tried both %f and %u at the end of the command in the file associations.