GNOME Bugzilla – Bug 691877
Gdm must enable the keyboard plugin in gnome-settings-daemon
Last modified: 2013-01-21 18:39:13 UTC
Otherwise layout switching doesn't work in gnome-initial-setup (which uses the same dconf profile as the greeter), and the whole keyboard setup page has no effect.
Created attachment 233704 [details] [review] Enable keyboard plugin in the login session This is necessary for the keyboard page in gnome-initial-setup to work.
I'm okay with this as long as someone has read through the keyboard plugin and made sure it's "safe" to load at the login screen. I mean we just need to make sure it doesn't provide some hotkey for showing ibus config panels with that let you start terminals when hitting some cheat code of modifiers or something crazy like that.
I've looked over the keyboard plugin. Here is what it does: 1) launch /usr/libexec/gsd-input-sources-switcher when needed 2) activate ibus-daemon when needed 3) on device plugin/out, run a custom command specified by org.gnome.settings-daemon.peripherals.input-devices hotplug-command In maybe_create_input_sources(), there is already code that looks at the RUNNING_UNDER_GDM env var and only uses the current xkb config instead of stored configuration. This also means that ibus is not activated. We need to lock down the hotplug-command setting in the gdm dconf profile.
Created attachment 233823 [details] [review] Lock down the hotplug-command key This key specifies a script to be run when a device is plugged in. We don't want that to happen on the login screen.
Attachment 233704 [details] pushed as eeb4f21 - Enable keyboard plugin in the login session Attachment 233823 [details] pushed as 305df4a - Lock down the hotplug-command key