[kdepim-users] Not working, Link from Kmail -> Konqoerror
Ingo Klöcker
kloecker at kde.org
Fri Jun 5 21:42:58 BST 2009
On Friday 05 June 2009, Bruce MacArthur wrote:
> On Thursday 04 June 2009 15:39, Ingo Klöcker wrote:
> > On Thursday 04 June 2009, Bruce MacArthur wrote:
> > > On Thursday 04 June 2009 04:23, Kevin Krammer wrote:
> > > > On Thursday, 2009-06-04, Günther J. Niederwimmer wrote:
> > > > > Hello,
> > > > >
> > > > > is it possible to configure KMail / Konquerror to work
> > > > > together?
> > > > >
> > > > > My Problem, when I start a Link from a EMail I have in the
> > > > > Konquerror the /var/tmp/kdecache-xxxx/ path and not the
> > > > > correct URL?
> > > > >
> > > > > openSuSE 11.1 KDE 4.2.4
> > > >
> > > > KMail uses a KDE service to launch applications for URLs so
> > > > this has to be fixed at KDE settings level.
> > > >
> > > > The symptoms indicate that the file association of the file
> > > > type of the link (text/html for normal web pages), or the
> > > > global web browser setting, use a command which does not
> > > > include %u as one of its parameters.
> > > >
> > > > For example on my system I have
> > > > System Settings -> Advanced Tab -> File associations
> > > > for text/html Konqueror on top of the list
> > > > If I select this entry and click "Edit" I see that the command
> > > > is kfmclient openURL %u text/html
> > > >
> > > > where %u will be replaced with the URL
> > > >
> > > > This command is usually directly taken from a .desktop file
> > > > installed by the application packages so it should be correct.
> > > > Manual modifications to file associations could have changed
> > > > that.
> > >
> > > I have long had the very same problem under openSUSE 10.2. I am
> > > migrating to Kubuntu Jaunty (9.04) and do not yet know quite what
> > > to expect in this regard. A previous off-list exchange on the
> > > topic reads as follows. I would note that, although I think that
> > > I have found the area cited by Kevin, everything actually reads
> > > quite differently -- and the /var... that is used by Konqueror
> > > does NOT appear! I do NOT yet understand how to make things
> > > function "normally"!!! Any further specific remarks would be
> > > GREATLY appreciated!
> >
> > Maybe there are some old desktop files in ~/.kde/share/applnk or in
> > ~/.local/share/applications.
>
> Thank you, Ingo. Could you tell us how to distinguish "old"
> from "proper" in either folder (or in both!)?
Check the time stamp. ;-)
More serious, open the desktop files in an editor and check the Exec=
line. Look for desktop files having "kfmclient" in the Exec line. For
example, kfmclient_html.desktop has the line
Exec=kfmclient openURL %u text/html
This means URLs pointing to HTML files will be opened with the
command "kfmclient openURL %u text/html" where the %u is replaced by
the URL of the HTML file. (HTML files might be opened with a different
command if there is another desktop file for HTML files with a higher
priority.)
If the Exec line contains a %f then KDE will download the file to a
temporary file and pass the filename of the temporary file to the
application. So look for Exec lines containing "kfmclient" and %f.
Instead of looking at files you can also open the File Assocations
settings dialog (in kcontrol). Enter html in the "filename pattern"
field and then have a look at the applications for text/html. Select
Konqueror, press Edit, select the Application page in the properties
dialog and have a look at the Command field. It contains the value of
the Exec line.
What happens if you run
kfmclient exec http://home.att.net/~hideaway_today/t133/noah.htm
in Konsole?
Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdepim-users/attachments/20090605/12bc28c8/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM users mailing list
kdepim-users at kde.org
https://mail.kde.org/mailman/listinfo/kdepim-users
More information about the kdepim-users
mailing list