Idea doesn't get my keyboard locale right under Ubuntu 8.04 LTS

Answered

Hi everybody,

I am running Ubuntu 8.04 with Gnome. While my system language is English, my keyboard mapping is configured to be German, which works fine except in Idea:

Idea seems to think I am running a US keyboard layout. So the keymapping is totally wrong. 'y' is 'z' and so on. You get the idea.

Edited: actually, when I type a 'y', it's a 'y'. However, when I do "undo" with ctrl + 'z', Idea just cuts the line. The correct undo operation is ctrl + 'y'.

Since this is totally unusable, how do I make Idea recognize that I am running on a German layout?

Thanks for your help,

Tobias W.

0
5 comments

Hi.

I thought it is a common behavior of keyboard shortcuts: they are assigned to a key, not to a character entered with a key. I.e. Ctrl+Z actually means Ctrl+(left bottom character key), whichever character is currently assigned to the key.

For me Ubuntu default text editor (gedit) behaves the same as IDEA. If I set current layout to German, then to type 'Z' I need to press top-row key (English 'Y'), but to trigger Undo (Ctrl+Z), I anyway need to press Ctrl+(German Y). Are there any applications which do different?

Alexander.

0
Avatar
Permanently deleted user

I have had this problem as well.
I found out that the alternatives (e.g. de,us,en) mix up ubuntu (or IntelliJ).
I simply run "setxkbmap -model pc105 -layout de" in a terminal window to fix this.

Other applications did not show the problem with Z and Ctrl+Z.

Wallaby

0
Avatar
Permanently deleted user

This behaviour seems to be Java related. I have the same problem in Netbeans 6.5. 'y' and 'z' behave correctly as such, however, 'ctrl + z' and 'ctrl + y' are confused.

My guess is that Java Swing applications in Ubuntu behave wrong.

0

curious that after 15 years this problem seems to still exist.

i frequently switch between the qwerty keyboard and the colemak keyboard using the command:

setxkbmap us -variant colemak

or 

setxkbmap us

while jetbrains (phpstorm) recognizes the correct key; when i press the control key, it is sometimes using the other keyboards variant.  ie, i am using the qwerty keyboard, and i press f, it works fine.  when i press control-f, i get a dialog for update project.  when i look at the shortcut for that action, that is control-t.  curiously enough, the t in the colemak keyboard is where the f is for the qwerty keyboard.

i have not been able to isolate exactly how and when this problem occurs; but it is a bit of a problem for sure.

0

pRose you're right, there's still no good solution for the keyboard layout issue, please refer to IJPL-54496 for more details.

You can force using the custom layout for shortcuts with a special option in the IDE Settings | Keymap (if it's not there, please try the workaround from IJPL-54500). 

0

Please sign in to leave a comment.