change input source from command line (gsettings regression)
Feature summary (gsettings regression)
Allow users to change input source from command line
How would you like it to work
somecommand set current input source (to my input source)
Relevant links, screenshots, screencasts etc.
How did we get to this complexity for something as simple as switching keyboards?
Previous versions of Gnome permitted user to run something as simple as
setxkbmap
which evolved into
gsettings set org.gnome.desktop.input-sources current 2
which evolved into:
gdbus call --session --dest org.gnome.Shell \ --object-path /org/gnome/Shell \ --method org.gnome.Shell.Eval \ "imports.ui.status.keyboard.getInputSourceManager().inputSources[0].activate()"
And now requires installing some unsupported external plugin to work.
Why do we need some external security disaster woraround to switch keyboards layouts in Gnome?
Using a lot of stuff from gnome terminal(think vim and emacs and much more), require users to switch keyboard layouts.
Yes we understand there are security issues. But this should be simple and doable.