X-KDE-Init and KCModuleInit

Matthias Kretz kretz at kde.org
Tue Apr 15 11:40:45 BST 2008


On Sunday 13 April 2008, Michael Jansen wrote:
> Hi
>
> If my research was corret X-KDE-Init is no more. The servicetype
> KCModuleInit provides the desired functionality. See change 559412

559289 is my big commit that introduced KCModuleInit

> If that is correct someone should fix the documentation.
>
> http://docs.kde.org/stable/en/kdebase-runtime/userguide/background-
> processes.html#kcminit
>
> I would fix it but i'm not sure how even if my research proves correct.

Wow, there's a lot of documentation I've never looked at. Is it useful to have 
that in the _user_guide? Shouldn't this be on techbase instead? (Also kcminit 
is in kdebase-workspace...)

Anyway, the way it works with KDE 4 is that kcminit code needs to install a 
KCModuleInit service .desktop file. That desktop file can be combined for the 
KCModule and KCModuleInit parts. The keys for KCModuleInit are documented in 
the kcmoduleinit.desktop servicetype file.

Take a look at the kcminit code in kdebase/workspace/kcminit/main.cpp. It's 
not much code...

-- 
________________________________________________________
Matthias Kretz (Germany)                            <><
http://Vir.homelinux.org/
MatthiasKretz at gmx.net, kretz at kde.org,
Matthias.Kretz at urz.uni-heidelberg.de
-------------- 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/20080415/71e1b688/attachment.sig>


More information about the kde-core-devel mailing list