D
D
Dymok2018-05-01 02:58:21
linux
Dymok, 2018-05-01 02:58:21

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

8 answer(s)
H
Hikmat Abdunabiev, 2018-05-01
@UnluckySerivelha

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.

V
Vladimir, 2018-09-08
Levadny @Vladimir_Levadnij

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 :-)

V
Valdemar Smorman, 2019-12-05
@smorman

Open Terminal ( Ctrl+Alt+T ) and execute:

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

S
sodium, 2020-11-27
@sodium

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']"

M
mycjow, 2019-08-17
@mycjow

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

V
vbvoinov, 2020-10-20
@vbvoinov

gsettings set org.gnome.desktop.input-sources xkb-options "['grp:alt_shift_toggle']"
or have gnome-tweaks

I
Igor, 2021-10-29
@Igorb_Shum

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']"

Because through the addition of gnome with alt + shift, the menu for selecting window items is called, this is inconvenient, because to reset it, you still had to press Esc to cancel this selection. Found a command that adds a working keyboard shortcut

D
Dmitry Yakovenko, 2022-04-02
@darkfire13

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']"

To check or examine the current input settings, use the command
gsettings list-recursively | grep input-source

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question