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

List:       kde-core-devel
Subject:    Re: Running kded modules on non-KDE desktops
From:       Thiago Macieira <thiago () kde ! org>
Date:       2010-01-21 18:16:59
Message-ID: 201001211916.59913.thiago () kde ! org
[Download RAW message or body]


Em Quinta-feira 21 Janeiro 2010, ās 14:12:36, dantti85-dev@yahoo.com.br 
escreveu:
> Not sure if someone already answered for this
> but this sounds like it should use DBus activate
> to start kded if the ktimezoned interface is not available,
> pretty simple patch btw
> 
> Daniel.

D-Bus activation isn't good enough because sometimes KDE's prefix is outside 
the system's defaults. And since KDE happily runs when its prefix is not in 
$XDG_DATA_DIRS (KDE adds its prefix there), no one has ever bothered to make 
the initialisation scripts in the distros add KDE prefixes to XDG_DATA_DIRS.

If KDE is not in XDG_DATA_DIRS, then D-Bus activation won't find KDE .service 
files.

One more thing: setting it in startkde is too late. It has to be set before 
dbus-daemon is launched.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      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