D9512: startplasmacompositor: If available, query org.freedesktop.locale1 for XKB defaults

Fabian Vogt noreply at phabricator.kde.org
Wed Dec 27 14:06:35 UTC 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20171227/89ead032/attachment-0001.html>


More information about the Plasma-devel mailing list