6

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?

Ron
  • 20,638
  • Read Sneetsher's answer from this post. Then you will be able to set custom shortcut from keyboard settings. – VRR Jul 31 '15 at 14:01

3 Answers3

4

You can do this using setxkbmap. From man setxkbmap:

The setxkbmap command maps the keyboard to use the layout determined by the options specified on the command line.

To do this, open Keyboard from settings and click on Custom Shortcuts. Click on the + sign and add fill up the 'Custom Shortcut' windows as shown below:

enter image description here

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

Ron
  • 20,638
0

You can quickly switch between your installed keyboard layout by pressing Super + space bar.

For changing this keyboard shortcut go in :

System settings > Text Entry.

enter image description here (sorry screenshot not in English)

hg8
  • 13,462
0

Don't forget! If you need to use English need print specific two symbols for different languages:

setxkbmap us - if you use us English

setxkbmap uk - if you use uk English
and so on

volos
  • 101