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

pomsky
  • 67,112
  • 21
  • 233
  • 243
Alejandro Vera
  • 6,287
  • 3
  • 20
  • 22
  • For latecomers, this is also an issue in 18.04 for people upgrading from 17.10: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1762952 – oligofren Apr 24 '18 at 22:33

4 Answers4

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.

Zanna
  • 69,223
  • 56
  • 216
  • 327
Alejandro Vera
  • 6,287
  • 3
  • 20
  • 22
  • 4
    Tweaks, mentioned by Alejandro Vera is the "Gnome Tweaks" application (could be found in "Software" or just from Activities search input) – Roman Bekkiev Oct 29 '17 at 17:29
  • Now it is called Tweaks https://git.gnome.org/browse/gnome-tweak-tool/commit/?id=05600c3af48c70925a2faf5663036f7eef62bff8 – Alejandro Vera Oct 31 '17 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 02 '20 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) – Helen Craigman Apr 29 '23 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']
pomsky
  • 67,112
  • 21
  • 233
  • 243
avtomaton
  • 175
  • 6
  • The [answer from avtomaton](https://askubuntu.com/a/1063750/250300) 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 '19 at 09: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.

Sam
  • 31
  • 2
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