Have to press shortcut twice to change keyboard layout

Solved this problem. Command to set up a layout change shortcut:

gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['<Ctrl>Shift_L']"

(and disabling shortcut in gnome tweaks)

1 Like