diff --git a/daemon/org.kde.kdeconnect.service.in b/daemon/org.kde.kdeconnect.service.in index 73b27d752..4f747186d 100644 --- a/daemon/org.kde.kdeconnect.service.in +++ b/daemon/org.kde.kdeconnect.service.in @@ -1,3 +1,3 @@ [D-BUS Service] Name=org.kde.kdeconnect -Exec=${LIBEXEC_INSTALL_DIR}/kdeconnectd +Exec=@KDE_INSTALL_FULL_LIBEXECDIR@/kdeconnectd diff --git a/interfaces/dbusinterfaces.cpp b/interfaces/dbusinterfaces.cpp index db3ce5a80..9629c8515 100644 --- a/interfaces/dbusinterfaces.cpp +++ b/interfaces/dbusinterfaces.cpp @@ -23,6 +23,9 @@ QString DaemonDbusInterface::activatedService() { static const QString service = "org.kde.kdeconnect"; QDBusConnection::sessionBus().interface()->startService(service); + if (!QDBusConnection::sessionBus().interface()->isValid()) { + qWarning() << "error activating kdeconnectd:" << QDBusConnection::sessionBus().interface()->lastError(); + } return service; }