Answer the question
In order to leave comments, you need to log in
How to change language change hotkey to Ctrl+Shift in Ubuntu 18.04?
The crux of the issue is in the title. The fact is that from the keyboard settings it is not possible to change the hot key for changing the language to Ctrl + Shift, although a combination of three keys, for example, Ctrl + Shift + A, is entered. What can be wrong?
Answer the question
In order to leave comments, you need to log in
You need to install gnome-tweaks:
Next, call gnome-tweaks, on the left side select "Keyboard and Mouse".
Under "Key combination ..." there is a button "Advanced layout options" press and select "Switch to another layout" in the window. There you can choose any combination from Alt + Shift, etc.
Comrades, I killed a car of time but found how to win :-) The Internet is full of information on how to enable Alt + Shift layout switching using gnome-tweak-tool, but what we need is for you to switch input sources using Alt + Shift, and this another functionality that is very convenient as it allows you to quickly switch between the last two languages, while there may be a footcloth of 5 languages (like mine). The solution is here , I’ll immediately warn you so that there is no conflict, if you enabled Alt + Shift through gnome-tweak-tool, then disable it there.
Bottom line:
1. Install the dconf-editor package and edit one or both of the following keys to make it work:
2. Go to org.gnome.desktop.wm.keybindings
3. Change the switch input source to ['<Alt>Shift_L']
4. Similarly, the key switch-input-source-back will change to ['<Shift>Alt_L']
I'm used to pressing the buttons in reverse order, so I did it in reverse and it works :-)
Open Terminal ( Ctrl+Alt+T ) and execute:
gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['<Shift>Control_L']"
gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['<Shift>Control_L']"
gsettings set org.gnome.desktop.wm.keybindings switch-input-source-backward "['<Alt>Shift_L']"
in ubuntu 18 neither gnome-tweak-tool nor unity-tweak-tool work.
in the clave itself, it is not visible.
go to the menu where you can continue with the selected programs ...
tab keyboard and
mouse option addictional layout options
ctrl+shift
gsettings set org.gnome.desktop.input-sources xkb-options "['grp:alt_shift_toggle']"
or have gnome-tweaks
To not install anything, for ubuntu 20.04 it is better to use the command:
gsettings set org.gnome.desktop.input-sources xkb-options "['grp:alt_shift_toggle']"
I use the Caps Lock key to switch languages. For me, using other keys in Linux is not very convenient to work with. Either the input focus is lost, or something else. To switch to Caps Lock, use the Gnome Tweak Tool in the "Gnome Advanced Settings" section, or use the command in the terminal:
gsettings set org.gnome.desktop.input-sources xkb-options "['grp:caps_toggle']"
gsettings list-recursively | grep input-source
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question