3

This is necessary, because I write the program on Ruby, and I need to programmatically change the layout of the keyboard

2

I found the solution using the xkbswitch utility.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .