Closed eliaskas closed 3 years ago
There should be if you have both keyboards showing in the System Settings, can you take a screenshot of the Keyboard section of the System Settings to make sure that it's correctly set?
Not him, but I can also confirm this issue on odin:
If I added three layouts the indicator appears but there are only two layouts shown:
I think the problem is that the indicator ignores any input method that uses ibus. https://github.com/elementary/wingpanel-indicator-keyboard/blob/0954de558efcf3a2d67e655f460f5143bd107bd2/src/LayoutsManager.vala#L94
Hmm, I don't think it is the cause of this issue. The indicator ignores ibus sources for a long time but I didn't face this issue before.
I have the same issue, however, in my case the indicator doesn't show even if I add both English (UK) and English (US) keyboard layouts as shown in the picture above.
So, when i was adding some layouts to see if they appear and, for no reason, it changed one of the xkb layouts to ibus. But i can't reproduce it anymore.
here, it's was to be ('xkb', 'br')
and was before i added the english layout.
$ gsettings get org.gnome.desktop.input-sources sources
[('ibus', 'br'), ('ibus', 'jp'), ('xkb', 'us')]
So, this appears to be due to three issues in combination: 1) The indicator does not show if there is only one visible layout 2) Only xkb sources are visible 3) Under some circumstances xkb sources get saved in the settings as ibus sources.
I am working on some related PRs and will try to fix this there.
A workround is to remove all keyboard layouts and re-add, but a recent change to the switchboard-plug-keyboard (master) prevents this so you have to use dconf-editor to change org.gnome.desktop.input-sources.sources
A workround is to remove all keyboard layouts and re-add, but a recent change to the switchboard-plug-keyboard (master) prevents this so you have to use dconf-editor to change org.gnome.desktop.input-sources.sources
This workaround seems to have fixed the issue for me, the indicator shows now, thank you.
Note: I could only reproduce this when I had an ibus engine installed.
There is no keyboard or language indicator on the top panel at the right side corner. I use US English and Greek keyboard and I have a serious problem in changing languages. Thank you