[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KDE applications need kfmclient to open links,
From:       Thiago Macieira <thiago () kde ! org>
Date:       2008-11-26 22:10:42
Message-ID: 200811270010.45999.thiago () kde ! org
[Download RAW message or body]


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

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic