I have three keyboard layouts. I want to assign hotkeys for each layout, e.g. CTRL+SHIFT+1 for the first layout, CTRL+SHIFT+2 for the second and CTRL+SHIFT+3 for the third.
What command can I use to set a specific layout? Or maybe my problem can be solved somehow else?
I use Gnome 43.2.
Before Gnome 41, it worked like this: gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Eval "imports.ui.status.keyboard.getInputSourceManager().inputSources[1].activate()"