Author Topic: [Linux] Mimetypes not registered in KDE  (Read 3216 times)

Offline TheTuxKeeper

  • Regular
  • ***
  • Posts: 293
  • daniel2000
[Linux] Mimetypes not registered in KDE
« on: February 03, 2007, 12:43:21 am »
There's a problem that the codeblocks mimetypes application/codeblocks and application/codeblocks-workspace aren't registered in KDE. I started nautilus (gnome) and saw nice codeblocks icons and clicking on them opens the project or the workspace in codeblocks. Why doesn't that work with KDE ? :?

The two responsible files are installed correctly, KDE adds cb correctly to the menu, but no mimetype in kcontrol is visible and so no icon, no start of cb when clicking on cb files :(
Code
/usr/share/application-registry/codeblocks.applications
/usr/share/applications/codeblocks.desktop
I've searched through the net, but haven't found anything helpful, till now. :(

Does anyone knows how to get it work or at least know why it doesn't work ?
Nightly builds for openSUSE

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: [Linux] Mimetypes not registered in KDE
« Reply #1 on: February 03, 2007, 09:58:19 am »
I would suggest you do the same I did back then: look at the source tarballs of other kde apps that create such bindings ;).
Be patient!
This bug will be fixed soon...

Offline TheTuxKeeper

  • Regular
  • ***
  • Posts: 293
  • daniel2000
Re: [Linux] Mimetypes not registered in KDE
« Reply #2 on: February 03, 2007, 03:43:06 pm »
No bad idea  :roll: Thanks for the hint  :D

Seems that kde only uses the freedesktop standard for its menu and not for the mimetypes.  :(

But I think I found a way to do it. I use kde-config --prefix to get the kde directory. the rest is in preparation ;)
Nightly builds for openSUSE