You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/bin/bash
gsettings set \
org.gnome.desktop.input-sources sources "[('xkb', '$1')]"# here you have your own list of languages which you can get via # `gsettings get org.gnome.desktop.input-sources sources`
gsettings set \
org.gnome.desktop.input-sources sources "[('xkb', 'us'), ('xkb', 'ru')]"
Trick is that gsettings holds active that single option you pass to it in the first set command.
Hope this helps somebody.
Please consider appending to docs.
The text was updated successfully, but these errors were encountered:
I have tried this, and it works, but when I switch from normal mode to insert mode with cw or any other shortcut for changing the text, the cursor doesn't get changed from block cursor to line cursor.
Found a solution based on the last method with
get-im
/set-im
scripts but usinggsettings
instead ofgdbus
:get-im.sh
set-im.sh
Trick is that
gsettings
holds active that single option you pass to it in the firstset
command.Hope this helps somebody.
Please consider appending to docs.
The text was updated successfully, but these errors were encountered: