I am using 16.04, somehow I manage to leave an orphan-language-icon on my menu bar (see high-lighted item in menu bar). I could't remove it in system settings/language support. Does anyone know if this item can be removed by editing a config file? Or can be changed from command line?screen shot
And by entering gsettings get org.gnome.desktop.input-sources sources, I got [('ibus', 'bopomofo'), ('xkb', 'us'), ('ibus', 'libbopomofo')]. First one seems to be the orphan.
71 Answer
So with Gunnar's suggestion, I realize I can use following command to reset keyboard input setting.
gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'us'), ('ibus', 'libbopomofo')]"where string (within double-quote) are the input methods I want to keep.
Again, thanks Gunnar.