How can I change a language label for Keyboard Layout on KDE Plasma?

I would like to change some of the flags that are used by default in KDE Plasma Keyboard Layout.

image

I’ve found a solution for the same request, but for a xfce4 environment on a different forum, but couldn’t find one for Plasma. The solution was to tinker with this directory: /usr/share/xfce4/xkb/flags/, so I tried to proceed to /usr/share/plasma/plasmoids/org.kde.keyboardlayout/ and find something there, but it seems that I rather look in a wrong place.

Thank you for your responses in advance.

Hullo,
I think I found them in /usr/share/kf5/locale/countries/ (owned by kdelibs4support)
And I have about 0 more help.
Good luck. :wink:

1 Like

Thank you! I managed to replace some flags.

For all the inexperienced users like me, in order to do it, you’re gonna need to get or create a desired flag, name it “flag.png” (I used one of the flags given by default to create a new one), use “ls” command in your terminal, proceed to directory in which the desired flag.png is located, and then use the following command in order to replace the undesired flag.

sudo mv flag.png /usr/share/kf5/locale/countries/(country code)

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.