Android Studio uses the first keyboard layout for shortcuts hotkeys

330 Views Asked by At

I have multiple keyboard layouts defined for my OS. Two of them are English Querty and Dvorak. The problem that I have is that the shortcut keys of Android Studio, always work with the first layout, even if the second one is active. All other applications honor the selected layout and don't have this problem.

For example, I have selected the second layout which is Dvorak:
enter image description here

Now in Android Studio I enter Ctrl + Z to undo something. But the shortcut for Ctrl + / gets triggered because Z in Dvorak is defined in the key / in Querty.

Is there a way to fix this problem?

P.S: I'm using Ubuntu 19.04.

1

There are 1 best solutions below

1
Ali Bildir On

Yes, you are correct that Android studio uses the first keyboard layout.

A workaround is to move the desired keyboard layout to the top of the list. In Ubuntu this is Settings -> Keyboard -> drag and drop the desired layout to the top.