Bug 163768 - When i click on a text file, the message "KDEInit could not launch '/usr/lib/kde4/bin/kate'" appears although kate succesfuly launches
Summary: When i click on a text file, the message "KDEInit could not launch '/usr/lib/...
Status: RESOLVED DUPLICATE of bug 157853
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
: 165729 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-11 09:54 UTC by Haris Kouzinopoulos
Modified: 2008-07-12 01:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Haris Kouzinopoulos 2008-06-11 09:54:06 UTC
Version:            (using Devel)
Installed from:    Compiled sources

I am not sure if this a dolphin problem or anything else, it just gets annoying having to click ok on a popup after each click on a text file.
Comment 1 Christophe Marin 2008-06-11 10:45:50 UTC

*** This bug has been marked as a duplicate of 75492 ***
Comment 2 Michael Pyne 2008-06-12 01:41:09 UTC
I don't think this is a duplicate of the issue in bug 75492.  This is apparently Dolphin-specific (although I'm sure root cause will will be kdelibs somewhere), and differs in the that program does successfully launch.

Haris, is this *just* with kate or does e.g. clicking on an image give you an error about gwenview?  And does kate actually exist in /usr/lib/kde4/bin/kate ?
Comment 3 Haris Kouzinopoulos 2008-06-12 10:08:49 UTC
It seems to happen only with kate. The kate executable does exist in that location:

ls -al /usr/lib/kde4/bin/kate
-rwxr-xr-x 1 root root 3164 2008-06-05 21:36 /usr/lib/kde4/bin/kate
Comment 4 David Faure 2008-07-01 20:26:26 UTC
The question is, which kate.desktop file is being used, and what does it say (especially the X-DBUS-StartupType line). Check ~/.kde and ~/.local for a local kate.desktop override.
Comment 5 Christophe Marin 2008-07-04 18:59:46 UTC
*** Bug 165729 has been marked as a duplicate of this bug. ***
Comment 6 Andreas Kuhl 2008-07-11 10:51:11 UTC
I run also into this.
Comment 7 Allen Winter 2008-07-11 15:21:20 UTC
I recently saw a posting about this .. I think on the kde-redhat users group list.

The poster said remove the %U from a kate desktop file fixed the problem.
But I didn't try.

Just reporting as a possible solution to explore.
Comment 8 Andreas Kuhl 2008-07-11 16:29:14 UTC
Wow, that really did the trick! I did not open Kate via a desktop icon, but directly by clicking on a text file. I edited the properties for text files and edited the associated Kate entry and removed - as you proposed - the %U parameter.

Now the errormessage no longer appears when opening and closing textfiles with Kate. Great!
Comment 9 David Faure 2008-07-12 01:19:51 UTC
That's just a side effect, the problem isn't %U, but a wrong key in the desktop file. By modifying it you're creating a local copy of it, which doesn't have that wrong key. Both problems are fixed, see Bug 157853.

*** This bug has been marked as a duplicate of 157853 ***