You are not logged in.

#1 2012-07-02 12:46:11

elpres
Member
Registered: 2012-02-23
Posts: 18

Missing characters in german keyboard layout

I'm using Gnome 3 on a PC with a german keyboard with a physical layout like this one. The german layout is configured in the settings and mostly works as intended, but one key is mapped wrongly. The key next to the left shift key in the second row from below is supposed to have the characters "<" and ">" on it, but instead it produces "-" and "_", duplicating another key. As a result, there is no way to type the "less" and "greater" characters. The built-in keyboard layout viewer shows an US physical one (like this one, notice e.g. the "enter" key which occupies only one row instead of two in the german one and the wider left "shift" key), regardless of whether the german or an english (logical) layout is selected.

So, if there is a way to change the physical layout, how do i do it?

Offline

#2 2012-07-02 14:49:11

jared
Member
From: Germany
Registered: 2012-01-16
Posts: 62

Re: Missing characters in german keyboard layout

Hi, I have had that problem a while ago...the other way around. I'm from Germany and was missing German characters on my US keyboard. I wrote about how I solved this here: https://myubuntux.wordpress.com/2012/01 … d-in-xorg/

I'm pretty sure this will help you solve your problem...at least introduce you to the tools I used.

Offline

#3 2012-07-02 15:02:40

elpres
Member
Registered: 2012-02-23
Posts: 18

Re: Missing characters in german keyboard layout

Well, that would be a possibility, but as far as I understand, this method would allow me to add "<" and ">" to some other key in combination with AltGr/Shift+AltGr, but still leave me with a key that does the same as another one (the "dash"-and-"underscore" one). I'd prefer to find a way to let the key produce the correct keycode and give me the characters printed onto it.

Offline

#4 2012-07-02 15:13:58

jared
Member
From: Germany
Registered: 2012-01-16
Posts: 62

Re: Missing characters in german keyboard layout

With xmodmap and Xev you can completely remap everything on your keyboard. You should be able to tackle all problems with both tools. Use Xev to find out the right key, remap it with Xmodmap. I know it's a hassle (reading, testing, etc.), but it's the only fine solution I found when I looked into the topic (twice since I wrote the article).

Maybe someone else has a better idea?
Anyone?

Offline

#5 2012-07-02 15:26:07

elpres
Member
Registered: 2012-02-23
Posts: 18

Re: Missing characters in german keyboard layout

Good, after trying Xev it is at least clear, that the "<>" key and "-_" do produce different keycodes and remapping should be possible. I was thinking that perhaps they would both appear the same to the keyboard driver and nothing could be done. Thanks for the suggestion!

Any insight into the "deeper" cause of the problem would also be welcome, though.

Offline

Board footer

Powered by FluxBB