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

Fabian Vogt noreply at phabricator.kde.org
Thu Dec 28 12:01:45 UTC 2017


fvogt added a comment.


  In https://phabricator.kde.org/D9512#183371, @graesslin wrote:
  
  > In https://phabricator.kde.org/D9512#183207, @fvogt wrote:
  >
  > > 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.
  >
  >
  > Actually it's not only KWin knowing that. KWin just reads a kconfig, we can do the same in the script and thus do the dbus calls only if no config is set.
  
  
  Sure.
  It would then change the behaviour though: The system-wide keyboard configuration is then written into the user's config and system-wide changes won't have any effect afterwards.
  With this (or done within kwin), this only happens if the user explicitly configured the layout.

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/20171228/d54df955/attachment.html>


More information about the Plasma-devel mailing list