On Mon, Apr 4, 2011 at 12:07, Darrell Anderson <humanreadable(a)yahoo.com> wrote:
Need some help here. :)
Does KDE3/Trinity use the globs file from the mime-database structure?
How do we add mimetypes globally on a system so users do not have to manually add new
mimetypes?
Is the KDE/Trinity /usr/share/mimelnk directories redundant with the information provided
by the mime-database directories?
What is the correct way to create new desktop files in /usr/share/mimelnk, especially
when a person is not fluent in dozens of languages?
Shouldn't these upstream software providers be providing mimelnk desktop files that
get installed automatically?
Darrell
--- On Sat, 4/2/11, Darrell Anderson <humanreadable(a)yahoo.com> wrote:
From: Darrell Anderson
<humanreadable(a)yahoo.com>
Subject: [trinity-devel] LibreOffice Mimetypes
To: trinity-devel(a)lists.pearsoncomputing.net
Date: Saturday, April 2, 2011, 3:44 PM
Starting KDE/Trinity for the first
time after intalling LibreOffice results in the following
error messages:
====================================
kbuildsycoca: WARNING:
'/usr/share/applications/libreoffice-javafilter.desktop'
specifies undefined mimetype/servicetype
'application/x-aportisdoc'
kbuildsycoca: WARNING:
'/usr/share/applications/libreoffice-javafilter.desktop'
specifies undefined mimetype/servicetype
'application/x-pocket-word'
kbuildsycoca: WARNING:
'/usr/share/applications/libreoffice-javafilter.desktop'
specifies undefined mimetype/servicetype
'application/x-pocket-excel'
kbuildsycoca: WARNING:
'/usr/local/kde-mods/share/applications/libreoffice-impress.desktop'
specifies undefined mimetype/servicetype
'application/vnd.openxmlformats-officedocument.presentationml.presentation'
kbuildsycoca: WARNING:
'/usr/local/kde-mods/share/applications/libreoffice-impress.desktop'
specifies undefined mimetype/servicetype
'application/vnd.ms-powerpoint.presentation.macroenabled.12'
kbuildsycoca: WARNING:
'/usr/local/kde-mods/share/applications/libreoffice-impress.desktop'
specifies undefined mimetype/servicetype
'application/vnd.openxmlformats-officedocument.presentationml.template'
kbuildsycoca: WARNING:
'/usr/local/kde-mods/share/applications/libreoffice-impress.desktop'
specifies undefined mimetype/servicetype
'application/vnd.ms-powerpoint.template.macroenabled.12'
kbuildsycoca: WARNING:
'/usr/local/kde-mods/share/applications/libreoffice-math.desktop'
specifies undefined mimetype/servicetype
'application/vnd.sun.xml.math'
kbuildsycoca: WARNING:
'/usr/local/kde-mods/share/applications/libreoffice-calc.desktop'
specifies undefined mimetype/servicetype
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
kbuildsycoca: WARNING:
'/usr/local/kde-mods/share/applications/libreoffice-calc.desktop'
specifies undefined mimetype/servicetype
'application/vnd.ms-excel.sheet.macroenabled.12'
kbuildsycoca: WARNING:
'/usr/local/kde-mods/share/applications/libreoffice-calc.desktop'
specifies undefined mimetype/servicetype
'application/vnd.openxmlformats-officedocument.spreadsheetml.template'
kbuildsycoca: WARNING:
'/usr/local/kde-mods/share/applications/libreoffice-calc.desktop'
specifies undefined mimetype/servicetype
'application/vnd.ms-excel.template.macroenabled.12'
kbuildsycoca: WARNING:
'/usr/local/kde-mods/share/applications/libreoffice-calc.desktop'
specifies undefined mimetype/servicetype
'application/vnd.ms-excel.sheet.binary.macroenabled.12'
kbuildsycoca: WARNING:
'/usr/local/kde-mods/share/applications/libreoffice-calc.desktop'
specifies undefined mimetype/servicetype 'text/csv'
kbuildsycoca: WARNING:
'/usr/local/kde-mods/share/applications/libreoffice-calc.desktop'
specifies undefined mimetype/servicetype
'application/x-dbf'
kbuildsycoca: WARNING:
'/usr/local/kde-mods/share/applications/libreoffice-writer.desktop'
specifies undefined mimetype/servicetype
'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
kbuildsycoca: WARNING:
'/usr/local/kde-mods/share/applications/libreoffice-writer.desktop'
specifies undefined mimetype/servicetype
'application/vnd.ms-word.document.macroenabled.12'
kbuildsycoca: WARNING:
'/usr/local/kde-mods/share/applications/libreoffice-writer.desktop'
specifies undefined mimetype/servicetype
'application/vnd.openxmlformats-officedocument.wordprocessingml.template'
kbuildsycoca: WARNING:
'/usr/local/kde-mods/share/applications/libreoffice-writer.desktop'
specifies undefined mimetype/servicetype
'application/vnd.ms-word.template.macroenabled.12'
====================================
Trinity should have these mimetypes built-in to avoid those
messages.
I know each user can add the mimetypes manually. That is
cumbersome. How do we do this programmatically? I seem to
have forgotten. There is no master profilerc file.
Would be nice when building Trinity that these mimetypes
are recognized automatically.
Darrell
---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-devel-unsubscribe(a)lists.pearsoncomputing.net
For additional commands, e-mail: trinity-devel-help(a)lists.pearsoncomputing.net
Read list messsages on the Web archive:
http://trinity-devel.pearsoncomputing.net/
Please remember not to top-post:
http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
It uses it from upstream shared-mime-info, IIRC.
--
later, Robert Xu