You are not logged in.
When updating the system, I sometimes get this message:
No such key 'Gtk/IMModule' in schema 'org.gnome.settings-daemon.plugins.xsettings' as specified in override file '/usr/share/glib-2.0/schemas/50_sogoupinyin.gschema.override'; ignoring override for this key.
/usr/share/glib-2.0/schemas/50_sogoupinyin.gschema.override is created by fcitx-sogoupinyin, and its content is
But Why it complains that "No such key 'Gtk/IMModule'"?
[org.gnome.settings-daemon.plugins.keyboard]
active=false
[org.gnome.settings-daemon.plugins.xsettings]
Gtk/IMModule=fcitx
[com.canonical.indicator.keyboard]
visible=false
The error message is confused since the key should exist (I use gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/IMModule':<'fcitx'>}" in ~/.xprofile to make fcitx work, as recommended in Fcitx Wiki).
But Why it complains that "No such key 'Gtk/IMModule'"?
Any idea why this happens and how to get rid of it?
Running sudo glib-compile-schemas /usr/share/glib-2.0/schemas/ produces the same error message, and can be used to check whether the problem exists.
Last edited by vanitas (2016-06-11 17:35:09)
Offline
Strangely, running gsettings list-keys org.gnome.settings-daemon.plugins.xsettings doesn't show "Gtk/IMModule".
Offline
look at /usr/share/glib-2.0/schemas/50_sogoupinyin.gschema.override. It should be like this
[org.gnome.settings-daemon.plugins.keyboard]
active=false
[org.gnome.settings-daemon.plugins.xsettings]
overrides={'Gtk/IMModule':<'fcitx'>}
[com.canonical.indicator.keyboard]
visible=false
But it is
[org.gnome.settings-daemon.plugins.keyboard]
active=false
[org.gnome.settings-daemon.plugins.xsettings]
Gtk/IMModule=fcitx
[com.canonical.indicator.keyboard]
visible=false
Offline
look at /usr/share/glib-2.0/schemas/50_sogoupinyin.gschema.override. It should be like this
[org.gnome.settings-daemon.plugins.keyboard]
active=false
[org.gnome.settings-daemon.plugins.xsettings]
overrides={'Gtk/IMModule':<'fcitx'>}
[com.canonical.indicator.keyboard]
visible=falseBut it is
[org.gnome.settings-daemon.plugins.keyboard]
active=false
[org.gnome.settings-daemon.plugins.xsettings]
Gtk/IMModule=fcitx
[com.canonical.indicator.keyboard]
visible=false
Thanks for your response!
I find that the following also works: (it doesn't produce warnning or error, but not work either)
[org.gnome.settings-daemon.plugins.xsettings.overrides]
Gtk/IMModule=fcitx
I've just updated the fcitx-sogoupinyin package.
Last edited by vanitas (2016-06-11 18:00:58)
Offline