Skip to content

[1/3] feat: expose keyboard layout Short Name via DBus

Andrey Butirsky requested to merge (removed):keyboard_layout_plasmoid into master

Due space constraints, Short Name is the only name suitable for keyboard layout indication on panels and systray. Usually it's just 2 symbols corresponding to standard ISO country code.

libxkbcommon doesn't have this information, so we have to store it in compositor for the exposing:
https://github.com/xkbcommon/libxkbcommon/issues/192

It's exposed by getLayoutDisplayName() DBus method now, as it should initially.
For Long Name, getCurrentLayoutLongName() method was added.

@davidedmundson

P-W part: plasma-workspace!413 (merged)
X11 part: plasma-desktop!226 (merged)
FEATURE: 390079

Edited by Andrey Butirsky

Merge request reports