Bug 285636

Summary: Installing file with apper from Dolphin fails with 'kdeinit: could not launch /usr/bin/apper' due to X-DBUS-StartupType in desktop file
Product: [Applications] apper Reporter: Will Stephenson <wstephenson>
Component: generalAssignee: Daniel Nicoletti <dantti12>
Status: RESOLVED WORKSFORME    
Severity: normal CC: feb8born
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Will Stephenson 2011-11-03 11:15:26 UTC
Apper has

X-DBUS-StartupType=Unique
X-DBUS-ServiceName=org.kde.apper

in apper.desktop which means when spawned by KRun (eg click RPM in Dolphin) KDEInit expects this DBUS service to appear.  When started with a URL, Apper invokes InstallPackageFiles and does not start its DBUS service so KDEInit errors.

I can set X-DBUS-StartupType=None to fix the Dolphin click case, but this could break dbus invocations on org.kde.apper if there is a situation where something needs to start apper using KToolInvocation::startServiceBy*() 

Is Apper called in this way?
Comment 1 manish 2011-12-04 11:53:51 UTC
and even after this message, apper starts nonetheless. After showing what packages it will update and all that, when i continue, the next screen displays the message "license agreement required" and remains stuck there. This happens only in the case of installing RPMs.
Comment 2 Daniel Nicoletti 2012-02-17 00:24:34 UTC
Does Apper from git fixes this? Fedora guys pointed me a bit before 0.7.0 was released so the git version problably fix the issues
Comment 3 manish 2012-02-17 17:30:32 UTC
Using the latest Apper from git. Issue resolved on 32 bit system, but still persists on 64 bit system. it can be seen when installing Opera after downloading the RPM (openSUSE 12.1).
Comment 4 Daniel Nicoletti 2012-04-02 23:51:39 UTC
I've tested it on a 64bits are you sure you installed Apper from git over your current installation?
Comment 5 Daniel Nicoletti 2012-05-29 00:31:00 UTC
Closing this since it is working for me and I got no reply yet.