.desktop files can not start apps with kdesu
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Kubuntu PPA |
High
|
Unassigned | ||
| | synaptic (Ubuntu) |
Medium
|
Unassigned | ||
| | Utopic |
Undecided
|
Unassigned | ||
Bug Description
-install synaptic
-start via kickoff
KDEInit could not launch '':
Could not open library '/usr/lib/
Cannot load library /usr/lib/
(upstream bug somewhere in kio, notmart has a review for it pending somewhere)
Related branches
- synaptic-developers: Pending requested 2014-12-08
-
Diff: 12 lines (+1/-1)1 file modifieddata/synaptic-kde.desktop.in (+1/-1)
| Jonathan Riddell (jr) wrote : | #1 |
| summary: |
- kdesu more broken + .desktop files can not start apps with kdesu |
| Rohan Garg (rohangarg) wrote : | #2 |
Synaptic should probably start using pkexec instead of kdesu like it does for the regular gtk frontend.
| Leszek Lesner (leszek-lesner) wrote : | #3 |
In general pkexec can be used for every application. Would make the password prompt more consistent also.
| Rohan Garg (rohangarg) wrote : | #4 |
Already being discussed upstream on KDE Frameworks Devel, there are going to be focus stealing issues as mentioned on [1] if we use pkexec everywhere. So this needs to be solved in pkexec first before moving forward.
[1] https:/
| Harald Sitter (apachelogger) wrote : | #5 |
The bigger issue is that neither DBUS_SESSION_BUS nor DISPLAY is forwarded through pkexec which prevents KUniqueApplications (and their KF5 counterpart one presumes) from starting as uniqueness is implemented through dbus and auto-starting a session dbus at least on X11 requires DISPLAY to be set (not that I know why).
| Rohan Garg (rohangarg) wrote : | #6 |
Patch for Synaptic
| Chris J Arges (arges) wrote : | #7 |
Rejected upload as it contains extra debian/
| Changed in synaptic (Ubuntu): | |
| status: | New → Triaged |
| importance: | Undecided → Medium |
| status: | Triaged → Fix Released |
| Launchpad Janitor (janitor) wrote : | #8 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in synaptic (Ubuntu Utopic): | |
| status: | New → Confirmed |
| Timo Aaltonen (tjaalton) wrote : | #9 |
Please add the SRU header as mentioned on https:/
Possible workaround :
sudo ln -s /usr/bin/kdesudo /usr/bin/kdesu
| MaXo (mahmood-188) wrote : | #11 |
had the same issue.
Bruno's workaround did the trick! Thanks!
| tags: | added: utopic |
| Changed in synaptic (Ubuntu Utopic): | |
| status: | Confirmed → Invalid |

upstream: /bugs.kde. org/show_ bug.cgi? id=338756 /bugs.kde. org/show_ bug.cgi? id=338755 /git.reviewboar d.kde.org/ r/120185/
https:/
https:/
https:/