Running kded modules on non-KDE desktops
Thiago Macieira
thiago at kde.org
Thu Jan 21 18:16:59 GMT 2010
Em Quinta-feira 21 Janeiro 2010, às 14:12:36, dantti85-dev at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20100121/e0ee3a96/attachment.sig>
More information about the kde-core-devel
mailing list