On 7/12/06, Axel Liljencrantz <[EMAIL PROTECTED]> wrote:
> On my system, mimedb handles .odp files correctly.
>
> What is the output of 'mimedb -a hello.odt'?

fopen: Bad address
mimedb: Default launcher '(null)' does not specify how to start


> What does the file <SOME DIRECTORY>/defaults.list contain,
> specifically the line about the
> application/vnd.oasis.opendocument.text mimetype? <SOME DIRECTORY>
> might be something like /usr/share/applications.

/usr/share/applications/defaults.list says ``ooo2-writer.desktop``,
but there is no file by that name in /usr/share/applications, or
anywhere else.  There is a file ``ooo-writer``, with a line
``Exec=ooffice -writer %U``. Nautilus classifies the file as the same
mimetype, specifies the default ``OpenOffice.org Word Processor`` and
opens ``ooffice -writer``.  How does it know?


> > Plus, am I right that mimedb does not let you change the default actions?
>
> You are right. Let me explain what the mimedb command does.
> [...]

Thanks for the explanation.

[....]
> There is also another database of so called .desktop files. These are
> files ordered in a hierachy of mimetypes, so that the .desktop file
> for the image/jpeg mimetype is $SOME_DIRECTORY/image/jpeg.desktop. The
> desktop files contain descriptions of the mimetype in various
> languages. This is used by the completion system. There are also
> desktop files for every application, specifying how to start an
> application, e.g. if a file should be given as an url or as a file, if
> it can be a relative file, if more than one file can be specified,
> etc.
[...]

My Ubuntu box does not have this.

[...]
> It would be _very_ nice to have a way to actually customize what
> program gets run, but currently there is no standard way of doing so.
> All you'd need is a user specific list in the same format as the
> defaults.list in the users home directory. Unfortunatly there is no
> such standard. Or actually, there are many. KDE does this one way,
> Gnome another, etc. Various operating systems like Fedora and Debian
> have solved parts of the problem, like allowing the user to set their
> own browser, but they have done so in different ways.
[...]

What a pity!  I guess this is the norm in the FOSS word.  Let's hope
it is standardized soon.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to