Ubuntu – KDEInit could not launch /usr/bin/kate

dolphinkdekubuntu

I'm running Kubuntu 12.04 with KDE 4.11.1 and the rootactions service menu in Dolphin.

I opened Dolphin as root then clicked on a text file. I got a "Sorry" dialog with the message:

KDEInit could not launch /usr/bin/kate

So I opened a terminal and issued this command as root:

# /usr/bin/kate

That worked and Kate opened as expected.

Why is Dolphin giving this error and how can I fix it? Thanks.

Best Answer

I have the same option after upgrading to Kubuntu 15.04.

Fixed by opening the file

.local/share/applications/kde4-kate.desktop

And changing the line: X-DBUS-StartupType=Multi to X-DBUS-StartupType=none

Which fixed the error for me. Got the idea from this post and it seems to be working

Related Question