0

How to set Right Alt as a shortcut to switch to next input source on Ubuntu 20.04

Pablo Bianchi
  • 14,308
  • 4
  • 74
  • 117

2 Answers2

1

There is option to switch it from terminal:

gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['Alt_R']"
mapcuk
  • 146
  • 3
  • May be there is also way to switch keyboard without pop-up window (I press enter to select the language and the selection window is gone, otherwise you have to wait 3 seconds)? – Daria Romanova Sep 07 '22 at 12:05
  • @DariaRomanova I agree, that language switch popup is annoying. I avoid it by using Gnome Extension [email protected], link is https://github.com/ankostis/gnome-shell-quick-lang-switch It was highlighted in Q&A as well https://askubuntu.com/questions/972926/how-to-not-show-keyboard-layout-chooser-popup-when-changing-language-in-gnome-3/1373109#1373109 – mapcuk Sep 14 '22 at 07:52
  • You are a wizard! – Daria Romanova Sep 22 '22 at 14:02
0

You can do that via Tweaks -> Keyboard & Mouse -> Additional Layout Options -> Switching to another layout.

Note 1: The gnome-tweaks package needs to be installed.

Note 2: Right Alt for that purpose is not advisable if any of the layouts you use includes 3rd and 4th level symbols.

Gunnar Hjalmarsson
  • 32,938
  • 3
  • 63
  • 94