<table><tr><td style="">davidedmundson created this revision.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />davidedmundson requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D28305">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This brings numerous advantages such as:</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">easier admin configuration with drop-ins, overrides a</li>
</ul>
<p>nd multiple hooks throughout (and only having to learn one tool)</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">session cleanup on exit, avoiding that occasional part where shutdown</li>
</ul>
<p>hangs</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">startup that actually knows when things are up</li>
<li class="remarkup-list-item">race free autostart and DBus activation at once</li>
<li class="remarkup-list-item">logs that rotate are split by service and usable</li>
<li class="remarkup-list-item">resource management through slices and cgroups (the part I want)</li>
</ul>
<p>Over the past 2 years I've been trying to tidy up and encapsulate the<br />
relevant parts of startup into the binary plasma-session so that we can<br />
just runtime swap out that one part and supporting both paths will be<br />
easy.</p>
<p>Support is toggleable via cmake flag, as it seems like it should be a<br />
distro decision, especially as we will require a specific systemd with<br />
the xdg-generator.</p>
<p>KDED/kwin/other services are attached to the relevant repo.</p>
<p>It is WIP as:</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">it requires unmerged generator for regular autostart files</li>
<li class="remarkup-list-item">There are outstanding tasks, see below</li>
</ul>
<p>Task <a href="https://phabricator.kde.org/T11914" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">T11914</a></p>
<p>Uploaded to get more people on board and also because merging master<br />
into a feature branch is becoming really annoying.</p>
<p>Given it's cmake guarded, I'm also up for merging before completion if<br />
others are happy?</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28305">https://phabricator.kde.org/D28305</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>CMakeLists.txt<br />
config-workspace.h.cmake<br />
krunner/CMakeLists.txt<br />
krunner/dbus/org.kde.krunner.service.in<br />
krunner/krunner.service.cmake<br />
ksmserver/CMakeLists.txt<br />
ksmserver/ksmserver.service.cmake<br />
ksmserver/server.cpp<br />
login-sessions/plasmawayland-dev.desktop.cmake<br />
login-sessions/plasmawayland.desktop.cmake<br />
login-sessions/startplasma-dev.sh.cmake<br />
shell/CMakeLists.txt<br />
shell/org.kde.plasmashell.desktop.cmake<br />
shell/plasmashell.service.cmake<br />
startkde/CMakeLists.txt<br />
startkde/kcminit/CMakeLists.txt<br />
startkde/kcminit/kcminit-phase1.service.cmake<br />
startkde/kcminit/kcminit.service.cmake<br />
startkde/ksplash-ready.service.cmake<br />
startkde/plasma-core.target<br />
startkde/plasma-workspace.target<br />
startkde/startplasma.cpp</div></div></div><br /><div><strong>To: </strong>davidedmundson<br /><strong>Cc: </strong>plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>