fvogt added a comment.
In https://phabricator.kde.org/D9512#183199, @davidedmundson wrote: > This could also be done in kcminit phase 0, it's a bit later and can then be done with slightly more stuff in parallel - also it'd be C++ so you can at least send all 4 DBus requests before blocking on the first. > > As long as you update both the DBus environment and the klaunch environment, everything else will then inherit it. > (kcms/input/main.cpp has an example of that) Not kwin_wayland, which is the only process the variables need to be set for. It would be possible to just ignore those environment variables completely and tell kwin the layout over dbus with `org.kde.Keyboard`. However, only KWin knows that the user didn't specify a custom layout, so just relaying the locale1 properties to kwin during autostart won't work. IMO this is the simplest and cleanest way to achieve this. REPOSITORY R120 Plasma Workspace REVISION DETAIL https://phabricator.kde.org/D9512 To: fvogt, #plasma, graesslin Cc: davidedmundson, ngraham, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart