Created attachment 1128514 [details] .cache/imsettings/log When I check ibus-daemon's process on GNOME in Fedora 24, it always runs with the owned panel. % ps -ef | grep ibus-daemon fujiwara 7967 4964 0 19:38 ? 00:00:00 /usr/bin/ibus-daemon -r --xim I expect 'ibus-daemon --panel disable' is running on GNOME. gnome-shell runs ibus-daemon correctly but it seems imsettings-switch restart ibus-daemon. GNOME environment variables are set on gnome-shell: % env | grep -i gnome DESKTOP_SESSION=gnome-xorg GDMSESSION=gnome-xorg XDG_SESSION_DESKTOP=gnome-xorg XDG_CURRENT_DESKTOP=GNOME So when I run imsettings-target-checker.sh by manual, it returns 0 correctly. But if I run 'imsettings-switch -n -q -x', imsettings-target-checker.sh returns 1 because it cannot get the enviroment variables of GDMSESSION and DESKTOP_SESSION. BTW, I'd recomment XDG_CURRENT_DESKTOP instead of DESKTOP_SESSION. I attached .cache/imsettings/log too.
This problem happens in both GNOME Xorg and GNOME Wayland in Fedora 24.
Fixed in imsettings-1.7.0-1.fc24.