I want to connect two keyboard sets to my computer. Is it possible to set each for a specific language. So that there's no need to change language each time.
For example:
keyboard 1 types russian
keyboard 2 types english
I want to connect two keyboard sets to my computer. Is it possible to set each for a specific language. So that there's no need to change language each time.
For example:
keyboard 1 types russian
keyboard 2 types english
Using
xinput
andsetxkbmap
utilities, you can set from terminal so that each keyboard to have a different layout.First, using
xinput -list | grep key
command, you have to find the device ID of each keyboard. Here s an example (my case):And second, using
setxkbmap -device <key_ID> -layout <layout_name>
, set the layout which you wish for each keyboard. An example (for my keyboards):Slightly off-topic, but if you additionally use the
-variant
option, you can type dvorak on one keyboard and workman or qwerty or any other layout on the other keyboard.Pair programming on steroids!