Can someone "in the know" explain how OZ (or OPIE? not sure who is responsible) handles mime types? I have a file /etc/mime.types that lists out a whole bunch of mime types and their extensions. All good so far. I notice that text/plain is an entry. In AdvancedFM, files with those extensions (for text/plain) show up with the TextEditor icon. Looking at the texteditor.desktop file (in /opt/QtPalmtop), I notice line like this:
MimeType=text/plain
When I tap-and-hold on a text file, the open with TextEditor context option appears (separate from the "Open as text file" that is always there).
I want to do this with other applications (namely kAddressbook and .vcf files), but OPIE does not seem to associate my .desktop entry with MimeType=text/x-vCard with the text/x-vCard entry in /etc/mime.types.
I must be missing something basic, but I can't seem to find ANY documentation on the .desktop file specification or how OPIE reads it/uses it etc. The only mimetype docs I can find say that OPIE should be looking for a file in /opt/QtPalmtop/etc/mime.types, which definitely does NOT exist on my system.
Can anyone straighten this out? I'm desparate to get my beaming working, and the mime types seem to be the main thing holding it up...
-Matt