Plasma 6 proposal: Drop kcminit
kcminit
- runs really really really early on startup in a blocking way before apps or plasmashell start
- runs some small amount of code, typically reading settings and exposing them to some other format
- closes
kded (phase 1)
- runs really early on startup in a blocking way before any apps start. (but unlike kcminit after, ksmserver, plasmashell, kwin_x11?)
- runs some small amount of code, typically monitoring for some event then running a KDE hook
- stays open throughout the session
- can unload itself if it needs to?
We currently have 5 kcminit modules:
- kcm_touchpad.so
- kcm_style.so
- kcm_kgamma.so
- kcm_mouse.so
- kcm_fonts.so
touchpad and mouse need to watch for new devices (currently this is very randomly done by the keyboard kded module)
Fonts sets things in rdb and we want to tie to the lifespan of the X11 server so kcminit isn't a good fit. See also kwin#135
Proposal is to go through each one, list what it does and then move things to kded modules or standalone applications. Then we can chuck kcminit in the bin.
The big thing to be wary of is anything that sets environment variables that kded itself would need on startup before kded loads.
Edited by David Edmundson