Mousa
Mousa

Reputation: 2290

Android Studio uses the first keyboard layout for shortcuts hotkeys

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.

Upvotes: 2

Views: 364

Answers (1)

Ali Bildir
Ali Bildir

Reputation: 143

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.

Upvotes: 1

Related Questions