On Sun, Jan 19, 2014 at 12:27:25AM +0100, Reindl Harald wrote: > > Am 18.01.2014 23:54, schrieb Richard Z: > >> did you create ~/.kde/share/mimelnk/video/x-pana.desktop by hand? > >> if yes why? > > > > yes - did not find any other way. Some progress - got it working, though it feels very hackish at the moment. None of the recipes or books that were on the internet seems to work. There is an undocumented "kmimetypefinder" program that can be run from commandline and apparently displays what kde thinks the file type is. In my case it displayed "application/x-extension-mts.xml", a strace did reveal that this comes from ~/.local/share/mime/application/x-extension-mts.xml I have moved that file to ~/.local/share/mime/video/mts.xml and edited it to contain mimetype video/mp4. Now "kmimetypefinder *.mts" says kmimetypefinder(27645) KMimeType::findByUrlHelper: Glob file refers to "application/x-extension-mts" but this mimetype does not exist! video/mp2t (accuracy 20) and dolphin works as expected. Looking again at the strace it seems that the application/x-extension-mts.xml was the problem and removing it would be enough to fix the problem. How do I find out where application/x-extension-mts.xml was generated from? How do I override it properly? Richard --- Name and OpenPGP keys available from pgp key servers
Attachment:
pgpKAtTedO67c.pgp
Description: PGP signature
_______________________________________________ kde mailing list kde@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/kde New to KDE4? - get help from http://userbase.kde.org