I’m using an application through Wine which needs to detect the current selected keyboard layout. The problem is that this functionality is not working properly, it always thinks I’m using the us layout no matter what I have selected.
After a bit of research I found that Wine uses X11’s keyboard layout query (aka setxkbmap -query). They use that to be as low level as possible. Running setxkbmap -query under KDE always shows the same result (first us and then my other keyboard layout) no matter what layout I choose through KDE. Is this even intended? I have no idea how the X11-KDE connection works, any help would be appreciated.
Pretty sure that’s the Problem. I had this issue with KDE & Arch as well. If I remember correctly after playing around with the locale settings it worked again (But I don’t remember what exactly I did).