Re: Help w/ Windows app trying to lauch HTTP command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 08 Dec 2003 10:23:25 -0500, you wrote:

> That is precisely what I am trying to do.
> 
> > I don't think the deal is really to install a new browser under a fake 
> > windows. I guess it would be more interesting to find a way to invloke a 
> > linux browser from a running app under wine. Am I right Kai ?

Time to quote my solution again:

| > How do I define the native Linux Netscape as the browser?
|
| I have done it this way (using TheBat!):
|
| - I created a small bash script called mozilla.exe somewhere where wine
| can reach it. The script just launches the Linux browser of choice:
| 
| | $  cat mozilla.exe
| | #!/bin/sh
| | echo starting mozilla $1
| | if [ "$1" != "" ]; then
| | /usr/bin/mozilla "$1"
| | fi
| 
| - Added these lines to ~/.wine/system.reg:
| 
| | [Software\\CLASSES\\htmlfile\\shell\\open\\command] 1059405610
| | @="\"H:\\mozilla %1\""
| | 
| | [Software\\CLASSES\\http\\shell\\open\\command] 1059405610
| | @="\"H:\\mozilla %1\""
| | 
| 
| H: is mapped to my home dir and H:\\mozilla is of course how wine 
| should find my mozilla.exe script. 
| 
| Other URL -types like https and ftp go similar.

And while we are quoting, the similar question "how to use Linux xmms
instead of Winamp to launch mp3's" has this answer:

| I assume you mean the mp3 is an attchement that you want to play?
| 
| Here is a solution:
| 
| Add (or adapt when they exist) the following keys to system.reg:
| 
| | [Software\\CLASSES\\.mp3] 1060069477
| | @="MPEG.I.Layer.3.file"
| | 
| | [Software\\CLASSES\\MPEG.I.Layer.3.file\\shell\\open\\command] 1060064089
| | @="H:\\launchxmms %1"
| 
| And create an launchxmms.exe in H:\\
| 
| | #!/bin/sh
| | unset TMP
| | unset TEMP
| | xmms `winepath "$@"`
| 
| Notes:
| 
| winepath is a utility that comes with wine, it translates a DOS pathname
| to a unix pathname.
| The TMP and TEMP variables also contain a DOS path that caused xmms to
| fail. That is why I unset them, it should be put in the previous browser
| script as well.


Run wine with --debugmsg +reg to figure out which registry are queried
to do these actions.


Rein.
-- 
Rein Klazes
rklazes@xxxxxxxxx
_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.com/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux