KDE applications need kfmclient to open links, which is not shipped with kdebase/runtime

Thiago Macieira thiago at kde.org
Wed Nov 26 22:10:42 GMT 2008


Armin Berres wrote:
>The real Problem here is, that xdg-open calls "kfmclient openUrl" when
>it finds a KDE environment, if kfmclient is not around it will use
> sensible-browser.
>
>open_kde()
>{
>? ? which kfmclient >/dev/null || open_generic "$1"
>
>? ? kfmclient exec "$1"
>? ? kfmclient_fix_exit_code $?
>
>? ? if [ $? -eq 0 ]; then
>? ? ? ? exit_success
>? ? else
>? ? ? ? exit_failure_operation_failed
>? ? fi
>}
>
>Seems as if this is also not really what we want.

It's what we wanted in KDE 3.

For KDE 4, that functionality was moved to kioexec. But xdg-open hasn't 
been updated, so the old "exec" command is still present in kfmclient, but 
hidden/deprecated.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20081127/13ab4368/attachment.sig>


More information about the kde-core-devel mailing list