default wine browser

Dan Kegel dank at kegel.com
Tue Dec 30 09:07:29 CST 2003


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 your point somewhere?)

I'm fine with being able to run the right helper app for various mime
types.  It's just that "exec file" phrase that makes me nervous.
I'm afraid kfmclient will have a mapping for shell scripts!

>>Besides, wine isn't kde specific; we can't rely on
>>kfmclient to exist.
>>It would be better to make use of
>>http://freedesktop.org/Standards/shared-mime-info-spec
>>That way it would work with not just KDE, but also Gnome
>>and any other freedesktop.org-compliant environment.
> 
> 
> Of course, I wanted to take the discussion to integrating with the
> desktop and away from coding ourselves lists of browsers that may be
> available.
> 
> I am a Gnome user myself. Last time is researched this, Gnome did not
> have the equivalent of kfmclient. It required some gtk programming. This
> may have changed, or maybe kfmclient will become gnome compatible at
> some time. I don't know.

Both KDE and Gnome are moving, if slowly, towards using the same mime 
type helper database.

IMHO we should avoid all use of legacy KDE or Gnome code, and use
the freedesktop.org protocols which KDE and Gnome support
(or will soon support) for accessing the mime helper database.
- Dan



More information about the wine-devel mailing list