Version: 2.3.80 (using 4.4.2 (KDE 4.4.2), Kubuntu packages) Compiler: cc OS: Linux (i686) release 2.6.32-21-generic-pae Here is the problem: # update-desktop-database [...] Error in file "/usr/share/applications/kde4/kalzium.desktop": "chemical/x-cml" is an invalid MIME type ("chemical" is an unregistered media type)
Also reported here: https://bugs.launchpad.net/kdeedu/+bug/570822
The chemical MIME types can be downloaded from: https://sourceforge.net/projects/chemical-mime/
Could those MIME types be included into the KDE distribution or do they have to be packaged downstream ?
I just tested trying to open example.cml from http://www.ch.ic.ac.uk/chemime/ in kalzium from kdeedu-4.5.2 and it fails. kalzium ~/Documents/example.cml kalzium: Unexpected argument '/home/rdieter1/Documents/example.cml'. kalzium: Use --help to get a list of available command line options. So, I'd suggest removing the MimeTYpes= from the .desktop When/if loading those files is fixed, then perhaps fixing registration of the chemical/-related mimetypes is in order.
Looks like cml files can be opened/saved from within kalzium's molecule editor, but my quick 5-minute search didnt turn up any way of accessing that from the command-line.
yes, kalzium doesn't provide any comand-line options at the moment. Bug 253140 is kinda similar.
SVN commit 1187219 by rdieter: drop unhandled (and invalid) mimetype BUG: 235563 M +0 -1 kalzium.desktop WebSVN link: http://websvn.kde.org/?view=rev&revision=1187219
SVN commit 1187220 by rdieter: backport r1187219 drop unhandled (and invalid) mimetype. BUG: 235563 M +0 -1 kalzium.desktop WebSVN link: http://websvn.kde.org/?view=rev&revision=1187220
CML files should be readable with Avogadro: http://kde-apps.org/content/show.php/Avogadro?content=59521 Something like: avogadro bug708.cml