40

I have been using Ubuntu 17.10 for a while and is working great. But today after the update, I have a new shortcut, Alt+Shift, as an alternative Switch to the next input source. Alt+Shift is a common modifier in Intellij so a lot of shortcuts doesn't work any more.

I tried to change the shortcut but it is not listed in the shortcuts window.

Is there a file where I can change it (the alternative)?

Here is the screenshot of the option

enter image description here

1

4 Answers 4

48

Finally I found the option. I had to install Tweaks and go to

Keyboard and mouse > Additional layout options > switching to another layout

The strange thing is that there is that the default shortcut super+space was not selected in that window, only the alternative shortcut.

4
  • 4
    Tweaks, mentioned by Alejandro Vera is the "Gnome Tweaks" application (could be found in "Software" or just from Activities search input) Oct 29, 2017 at 17:29
  • Now it is called Tweaks git.gnome.org/browse/gnome-tweak-tool/commit/… Oct 31, 2017 at 14:10
  • I had this short cut working until it suddenly stopped. The way to restore it as a short cut was to uncheck the check box, close Tweaks, open Tweaks again and select the check box again.
    – NeStack
    Dec 2, 2020 at 13:39
  • Language change: I set it up as described, it does work; but the language locale indication at the right corner of the monitor top panel bar ("en") does not change! Versions: Ubuntu 22.04.2, GNOME Tweaks 42.beta, GNOME Shell 42.5 (ubuntu mode) Apr 29 at 10:37
4

In my answer I assume that you use Gnome 3.x.

You can use Tweaks, but you can also write the value directly, for example, changing from Alt+Shift to Ctrl+Shift can be done by the following command in terminal:

dconf write /org/gnome/desktop/input-sources/xkb-options ['grp:ctrl_shift_toggle','grp_led:scroll']
1
  • The answer from avtomaton works all right, but don’t forget double braces: dconf write /org/gnome/desktop/input-sources/xkb-options "['grp:alt_shift_toggle','grp_led:scroll']"
    – dobhareach
    May 21, 2019 at 9:07
3

To disable the option of alternative switch to the next source type in terminal:

xkbopts="/org/gnome/desktop/input-sources/xkb-options"
dconf read $xkbopts
dconf write $xkbopts "['']"

This worked for me. No reboot is necessary.

2

For Ubuntu 18.04: Alternative switch to next source Can Changed or Disabled only with "Tweak Tool":

$ sudo add-apt-repository universe
$ sudo apt install gnome-tweak-tool
$ gnome-tweaks

and then Keyboard & Mouse > Additional Layout Options > Switching to another layout

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .