On Sun, Mar 26, 2017 at 3:34 PM, Zan Zellor <zanzel...@gmx.com> wrote: > gsettings org.gnome.desktop.input-sources current 1 > > but it doesn't do anything. > > Looking through its description using dconf-editor, I see it says that the > key is deprecated. Is there any alternative for the current key?
Right, it doesn't do anything because it's no longer used and that's why it says it's deprecated. This runtime state used to be kept in sync between gnome-settings-daemon and gnome-shell through that gsetting but that had a few drawbacks so the whole functionality was migrated to mutter/gnome-shell and so this is only kept internally now. You can still poke at it through the command line since gnome-shell exposes a JS eval interface on DBus which has access to all its internal objects. Something like: $ gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Eval "imports.ui.status.keyboard.getInputSourceManager().inputSources.activate()" should activate your 0th layout and so forth for other indexes. Rui _______________________________________________ gnome-shell-list mailing list email@example.com https://mail.gnome.org/mailman/listinfo/gnome-shell-list