Bug 1528892 - Disappearance of key org.gnome.settings-daemon.plugins.keyboard makes imsettings fail to start, prevents using input methods other than integrated ibus
Disappearance of key org.gnome.settings-daemon.plugins.keyboard makes imsetti...
Status: NEW
Product: Fedora
Classification: Fedora
Component: gnome-settings-daemon (Show other bugs)
27
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Rui Matos
Fedora Extras Quality Assurance
: Reopened
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-12-25 00:13 EST by Robin Lee
Modified: 2018-01-02 21:16 EST (History)
10 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-12-26 21:52:20 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Robin Lee 2017-12-25 00:13:11 EST
Description of problem:
Following https://wiki.gnome.org/ThreePointFive/Features/IBus,
non-IBus user has to run
'gsettings set org.gnome.settings-daemon.plugins.keyboard active false'
to get there input method works on GNOME. But with a recent update, this key disappeared:

$ gsettings set org.gnome.settings-daemon.plugins.keyboard active false
No such schema “org.gnome.settings-daemon.plugins.keyboard”

imsettings-switch also warns.

$ imsettings-switch FCITX
GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._imsettings_2derror_2dquark.Code5: Current desktop isn't targeted by IMSettings.


Version-Release number of selected component (if applicable):
gnome-settings-daemon-3.24.3-3.fc26.x86_64
imsettings-qt-1.7.3-1.fc26.x86_64
imsettings-1.7.3-1.fc26.x86_64
imsettings-libs-1.7.3-1.fc26.x86_64
imsettings-gsettings-1.7.3-1.fc26.x86_64


How reproducible:
Always, on both gnome and gnome-xorg sessions.

Steps to Reproduce:
1. gsettings set org.gnome.settings-daemon.plugins.keyboard active false
2.
3.

Actual results:
$ gsettings set org.gnome.settings-daemon.plugins.keyboard active false
No such schema “org.gnome.settings-daemon.plugins.keyboard”

Expected results:
Command returned silent.

Additional info:
Comment 1 Robin Lee 2017-12-25 12:05:10 EST
The same on recently updated Fedora 27
Comment 2 Alick Zhao 2017-12-25 12:17:25 EST
Seems it is introduced by this commit:

https://github.com/GNOME/gnome-settings-daemon/commit/caf51f50f332aabe7af77f9641ac288dd88af553

Looks like they are moving to the direction where each plugin has its own .desktop file in /etc/xdg/autostart/ . Maybe we can try copy the one for keyboard to ~/.config/autostart/ , and disable the autostart there, in order to get other IME working?
Comment 3 Robin Lee 2017-12-26 21:05:30 EST
imsettings seems failing to start if 'org.gnome.settings-daemon.plugins.keyboard' does not exist.
Comment 4 Akira TAGOH 2017-12-26 21:52:20 EST
org.gnome.settings-daemon.plugins.keyboard is deprecated. see Bug#1520396 to enable imsettings on GNOME.

*** This bug has been marked as a duplicate of bug 1520396 ***
Comment 5 Robin Lee 2017-12-26 22:55:52 EST
I cannot figure out how to enable imsettings on GNOME in https://bugzilla.redhat.com/show_bug.cgi?id=1520396
Which is the exact method?
Comment 6 Robin Lee 2017-12-26 22:56:55 EST

*** This bug has been marked as a duplicate of bug 1520396 ***
Comment 7 Akira TAGOH 2017-12-26 23:35:57 EST
remove /etc/xdg/autostart/org.gnome.SettingsDaemon.Keyboard.desktop
Comment 8 Alick Zhao 2017-12-27 00:01:52 EST
(In reply to Akira TAGOH from comment #7)
> remove /etc/xdg/autostart/org.gnome.SettingsDaemon.Keyboard.desktop

I wonder if we can support an alternative way without root privilege, like the user has their own ~/.config/autostart/org.gnome.SettingsDaemon.Keyboard.desktop where autostart is set to false?
Comment 9 Robin Lee 2017-12-27 00:35:47 EST
And gdm failed to start if /etc/xdg/autostart/org.gnome.SettingsDaemon.Keyboard.desktop removed.
Comment 10 Akira TAGOH 2017-12-27 01:33:08 EST
Hmm, better ask upstream for a way to disable ibus safely like they did that by set false to org.gnome.settings-daemon.plugins.keyboard in the past.

Note You need to log in before you can comment on or make changes to this bug.