Re: default wine browser

2003-12-30 Thread Dan Kegel
Rein Klazes wrote: Under KDE it should be enough to do: kfmclient exec "${file}" Makes me nervous... the ability to cause code to execute is one of the most frequently abused powers of IE. Double clicking on an mp3 file to play it is not something that should make you nervous. ... (or do I miss yo

Re: default wine browser

2003-12-30 Thread Rein Klazes
On Mon, 29 Dec 2003 19:13:17 -0800, you wrote: > Rein Klazes wrote: > > Under KDE it should be enough to do: > > > > kfmclient exec "${file}" > > > > choosing in case of a html file the default browser configured for KDE. > > It works also for eg .mp3 files, but then the file spec must have been

Re: default wine browser

2003-12-29 Thread Chris Morgan
The potential to exploit the kfmclient does seem like something to at least consider. Is there some way we can protect the user against this or should the 'kfmclient exec' be dropped due to its potential for being exploited? We may need a translation table to effectively use the mime database.

Re: default wine browser

2003-12-29 Thread Dan Kegel
Rein Klazes wrote: Under KDE it should be enough to do: kfmclient exec "${file}" choosing in case of a html file the default browser configured for KDE. It works also for eg .mp3 files, but then the file spec must have been converted from WINE to Unix paths, for instance with "winepath". Makes me

Re: default wine browser

2003-12-29 Thread Chris Morgan
Very nice. This fixes it completely. I had tried to do things like TMP=/tmp and TEMP=/tmp but it didn't work for whatever reason. Chris On Monday 29 December 2003 06:42 am, Rein Klazes wrote: > On Sun, 28 Dec 2003 17:54:03 -0500, you wrote: > > Is this due to wine setting the TEMP environment

Re: default wine browser

2003-12-29 Thread Rein Klazes
On Sat, 27 Dec 2003 21:50:57 -0500, you wrote: > Sound reasonable? Comments? ;-) Under KDE it should be enough to do: kfmclient exec "${file}" choosing in case of a html file the default browser configured for KDE. It works also for eg .mp3 files, but then the file spec must have been converte

Re: default wine browser

2003-12-29 Thread Rein Klazes
On Sun, 28 Dec 2003 17:54:03 -0500, you wrote: > Is this due to wine setting the TEMP environment variable? I've tried > overriding that in the winebrowser script but it doesn't seem to make any > difference. Ideas on how to fix this? unset TMP TEMP Rein. -- Rein Klazes [EMAIL PROTECTED]

Re: default wine browser

2003-12-28 Thread Chris Morgan
Will do. ;-) On Sunday 28 December 2003 06:33 pm, Ivan Leo Murray-Smith wrote: > > Comments? > > Add netscape and galeon to the script. > > Ivan.

Re: default wine browser

2003-12-28 Thread Ivan Leo Murray-Smith
> Comments? Add netscape and galeon to the script. Ivan.

Re: default wine browser

2003-12-28 Thread Chris Morgan
Alright, here is a patch and script file. One interesting thing, I can run konqueror fine but mozilla appears to have some issue starting up. I get these odd error messages on the console with mozilla: Failed to create E:\/gconfd-cmorgan: No such file or directory Failed to create E:\/gconfd-c

Re: default wine browser

2003-12-27 Thread Chris Morgan
On Saturday 27 December 2003 11:33 pm, Jeremy Shaw wrote: > Hello, > > I like the idea. Under LindowsOS, I hacked up the shlexec.c so that if > no browsers are installed under wine, it tries to run mozilla (for > linux). This is because the xten sipphone software attempts to open > web pages in a f

Re: default wine browser

2003-12-27 Thread Jeremy Shaw
Hello, I like the idea. Under LindowsOS, I hacked up the shlexec.c so that if no browsers are installed under wine, it tries to run mozilla (for linux). This is because the xten sipphone software attempts to open web pages in a few circumstances, and we want that to work. Ideally, we want the xte

Re: default wine browser

2003-12-27 Thread Chris Morgan
Bleh. I meant that I symlinked /c/windows/system/winebrowser.exe to /usr/ local/bin/winebrowser. Chris On Saturday 27 December 2003 09:50 pm, Chris Morgan wrote: > In trying to install the United Devices application the installer prompts > me to go to a website to get the msi installer. Wine d

default wine browser

2003-12-27 Thread Chris Morgan
In trying to install the United Devices application the installer prompts me to go to a website to get the msi installer. Wine doesn't have a HKEY_LOCAL_MACHINE\software\classes\http\shell\open\command key in the registery. I was thinking about making a shell script something along the lines