In windows in keyboard switch settings there is an option that you can switch keyboard language with unique combination for each one.
For example, Ctrl + 1 – for english, Ctrl + 2 – for russian, Ctrl + 3 for ukrainian etc.
It would be super handy, if there is an option to set this thing in Ubuntu.
Are there any options?
Best Answer
You can do this using
setxkbmap
. Fromman setxkbmap
:To do this, open
Keyboard
from settings and click onCustom Shortcuts
. Click on the+
sign and add fill up the 'Custom Shortcut' windows as shown below:Press Apply. Click on 'Disabled' and press Ctrl + 2 to make this as a shortcut for enabling Russian.
Now repeat the steps, but add
setxkbmap us
as the command and Ctrl + 1 as the shortcut. This will enable Ctrl + 1 as the shortcut for English