[Bug 328919] [NEW] kde3 apps can't find kfmclient

Mitch Golden mgolden at mitchgolden.com
Fri Feb 13 05:03:39 UTC 2009

Public bug reported:

Binary package hint: kdebase

This bug is closely related to two already filed.  One is
https://bugs.launchpad.net/ubuntu/+source/amarok/+bug/120006 which is
the specific problem of being unable to open konqueror from amarok in
Intrepid.  The other is
https://bugs.launchpad.net/ubuntu/+source/kdelibs/+bug/310135 which is
the same sort of bug, but for khelpcenter.  The overall problem is that
because there are two different directories /usr/share/applications/kde
and /usr/share/applications/kde4, there are also two sycoca files.
Therefore, since kfmclient is only built in kde4 and the associated
.desktop files are only in the kde4 directory, no kde3 apps can find it.
Since there are likely to be at least some kde3 apps in some form for at
least a while yet, this problem should be rectified in general.  It will
go away in Amarok once that is ported to kde4, so it is not appropriate
to file this bug under Amarok.

In other words:

In Intrepid,
Open a KDE3 app (such as digiKam or Amarok)
On the menu bar, select Help, then About digiKam
In the popup, click on the URL http://www.digikam.org

What should happen:
Konqueror should open the URL

What does happen:
An error, "Unable to find service 'kfmclient'"

The solution is to create a symlink from
/usr/share/applications/kde/kfmclient.desktop to
/usr/share/applications/kde4/kfmclient.desktop (and _dir _html _war as
well). I have created a patch for kde4libs and kdebase that will create
these, and create a symbol for anyone building kde4 apps who wants to
put symlinks in for other applications as well.  (This may be useful for
khelpcenter, in bug 310135, though it appears that issue was solved a
different way.)

** Affects: kdebase (Ubuntu)
     Importance: Undecided
         Status: New

kde3 apps can't find kfmclient
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase in ubuntu.

More information about the kubuntu-bugs mailing list