adys@azura:/usr/share/mime/packages$ sudo rm kde.xml
adys@azura:/usr/share/mime/packages$ sudo apt-get install --reinstall shared-mime-info kdelibs5-data
Preparing to replace kdelibs5-data 4:4.6.2-0ubuntu4 (using .../kdelibs5-data_4%3a4.6.2-0ubuntu4_all.deb) ...
Unpacking replacement kdelibs5-data ...
Preparing to replace shared-mime-info 0.90-1ubuntu3 (using .../shared-mime-info_0.90-1ubuntu3_amd64.deb) ...
Unpacking replacement shared-mime-info ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...
Setting up kdelibs5-data (4:4.6.2-0ubuntu4) ...
Setting up shared-mime-info (0.90-1ubuntu3) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Unknown media type in type 'interface/x-winamp-skin'
adys@azura:~/tmp/kde4libs-4.6.2$ ack allfiles
kded/kbuildservicefactory.cpp
159: // TODO do the same for all/all and all/allfiles, if (!KServiceTypeProfile::configurationMode())
kdecore/services/kservicetypeprofile.h
70: * and all/allfiles are excluded from the results of the queries.
kio/kio/kfileitemactions.cpp
348: *it == "allfiles" /*compat with KDE up to 3.0.3*/) {
355: *it == "all/allfiles") {
adys@azura: /usr/share/ mime/packages$ ack allfiles allfiles" >
kde.xml
186: <mime-type type="all/
adys@azura: /usr/share/ mime/packages$ dlocate /usr/share/ mime/packages/ kde.xml mime/packages/ kde.xml
kdelibs5-data: /usr/share/
adys@azura: /usr/share/ mime/packages$ sudo rm kde.xml /usr/share/ mime/packages$ sudo apt-get install --reinstall shared-mime-info kdelibs5-data data_4% 3a4.6.2- 0ubuntu4_ all.deb) ... mime-info_ 0.90-1ubuntu3_ amd64.deb) ... x-winamp- skin'
adys@azura:
Preparing to replace kdelibs5-data 4:4.6.2-0ubuntu4 (using .../kdelibs5-
Unpacking replacement kdelibs5-data ...
Preparing to replace shared-mime-info 0.90-1ubuntu3 (using .../shared-
Unpacking replacement shared-mime-info ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...
Setting up kdelibs5-data (4:4.6.2-0ubuntu4) ...
Setting up shared-mime-info (0.90-1ubuntu3) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Unknown media type in type 'interface/
Why is this invalid in kde4libs? This is where it comes from. interface/ x-winamp- skin is a stupid mimetype, the uri/ mimetypes should be replaced by x-scheme-handler/ mimetypes as defined in http:// standards. freedesktop. org/shared- mime-info- spec/shared- mime-info- spec-latest. html#id2869854
Ass for the all/ mimetypes, god knows what those are.
And a quick grep on the sources:
adys@azura: ~/tmp/kde4libs- 4.6.2$ ack allfiles icefactory. cpp rofile: :configurationM ode())
kded/kbuildserv
159: // TODO do the same for all/all and all/allfiles, if (!KServiceTypeP
kdecore/ services/ kservicetypepro file.h
70: * and all/allfiles are excluded from the results of the queries.
kio/kio/ kfileitemaction s.cpp
348: *it == "allfiles" /*compat with KDE up to 3.0.3*/) {
355: *it == "all/allfiles") {
kio/tests/ kfstest. cpp
114: filter << "all/allfiles" << "text/plain";
115: dlg->setMimeFilter( filter, "all/allfiles" );
kio/tests/ kfdtest. cpp
23: filter << "all/allfiles" << "text/plain";
24: dlg->setMimeFilter( filter, "all/allfiles" );
mimetypes/kde.xml allfiles" > ~/tmp/kde4libs- 4.6.2$ ack "uri/" ~/tmp/kde4libs- 4.6.2$ ack winamp-skin kmimeassociatio nstest. cpp x-winamp- skin didn't work x-winamp- skin"; x-winamp- skin=fakearkapp lication. desktop; \n"));
186: <mime-type type="all/
adys@azura:
mimetypes/kde.xml
190: <!-- uri/ fake mime types -->
191: <mime-type type="uri/mms">
194: <mime-type type="uri/mmst">
197: <mime-type type="uri/mmsu">
200: <mime-type type="uri/pnm">
203: <mime-type type="uri/rtspt">
206: <mime-type type="uri/rtspu">
adys@azura:
kded/tests/
352: // #178560: Removing ark from interface/
353: const QString mime = "interface/
358: "interface/
mimetypes/kde.xml /x-winamp- skin">
350: <mime-type type="interface