please ask on KDE or Gnome mailing lists. while FreeBSD ports install files for openoffice needed by kde (as you've said, icon showed up), but KDE and Gnome it's completely not FreeBSD specific.