GNOME Bugzilla – Bug 659865
keep the fallback caribou keyboard from showing up in the shell
Last modified: 2011-09-23 11:54:15 UTC
this requires a caribou patch too (to make it use ALLOW_REPLACEMENT)
Created attachment 197286 [details] [review] keyboard: fix D-Bus name acquisition flags to totally block Antler We never want the antler keyboard to run if gnome-shell is running, so grab org.gnome.Caribou.Keyboard without the "allow replacement" flag.
Review of attachment 197286 [details] [review]: ::: src/main.c @@ +121,3 @@ if (!dbus_g_proxy_call (bus, "RequestName", &error, G_TYPE_STRING, "org.gnome.Caribou.Keyboard", + G_TYPE_UINT, DBUS_NAME_FLAG_REPLACE_EXISTING, Note we're also losing _DO_NOT_QUEUE here. But not a big deal because we say REPLACE_EXISTING which effectively renders _DO_NOT_QUEUE irrelevant. Just double checked in the dbus code, this is fine.
Works fine in my testing.
*** Bug 659750 has been marked as a duplicate of this bug. ***
Attachment 197286 [details] pushed as 5adb541 - keyboard: fix D-Bus name acquisition flags to totally block Antler