Alain Kalker skrev:
Package: wine
Version: 0.9.31-1
Severity: normal
Tags: patch
Currently, Wine has problems launching Windows applications associated
with file types registered by Windows programs, and it also lacks
integration with file managers to start a Windows program when a user
opens a file.
I'm not entire sure what you mean here. Do you mean file associations
that you add manually to your file managers, or file associations to be
added automatically by Wine? I don't think Wine creates them
automatically, and it probably shouldn't, either (things could probably
get really annoying if it did).
The first problem is caused by the misinterpretation of a starting slash
in the pathname:
$ wine start /some/dir/file.txt
doesn't open Notepad but gives usage info on start.exe instead, whereas
$ wine start file.txt
works as expected.
If you need to use the full path, the ideal way would be to use
$ wine start `winepath -w /some/dir/file.txt`
The second problem is the inconvenience of having to specify the full
path to the Windows application for each file type that a user wishes to
register.
I'm not sure what you mean by this. If you use start, then Wine finds
the application by looking in the registry, you don't have to specify an
application path.
Please consider the included script 'wine-start' which will launch the
Windows application associated with the file type of the specified file,
and which also handles the leading slash problem. I think integrating
this with the Debian menu system shouldn't be a problem at all.
The Debian menu system? It doesn't have a mechanism for asking users for
command-line arguments, which your script needs. And it wouldn't
integrate it with file managers anyway... even if it could do that, you
create these file associations manually. I really don't see how you
meant to integrate this.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]