If you are using Mate:
Open Control center from the menu or using terminal command “mate-control-center”.
Keyboard → Layouts → Add → Country: Russian Federation → Add.
Now we have added the russian language to our system.
Below we can choose the keyboard and how to change the layout.
Options → Switching to another layout → Check Ctrl+Shift or another keyboard shortcut.
If you are using i3wm:
Add this line to your config file (~/.config/i3/config):
exec --no-startup-id “setxkbmap -model pc104 -layout us,ru -option grp:ctrl_shift_toggle”
Hi, If you are using Mate: you can do this: open terminal enter the command:
sudo nano /etc/default/keyboard
And edit this file
XKBMODEL=“pc105”
XKBLAYOUT=“es,ru”
XKBVARIANT=""
XKBOPTIONS=“grp:alt_shift_toggle,grp_led:scroll”
BACKSPACE=“guess”
Save, reboot the system. Now you will have both a Spanish and Russian keyboard with language switching buttons Alt+ Shift