Bug 223695

Summary: (Up,Down,Left,Right) don't work in konsole when put on an AltGr combination
Product: [Applications] konsole Reporter: Silvio Frischknecht <silvio.frischi>
Component: keyboardAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED WORKSFORME    
Severity: normal CC: a.samirh78, adaptee
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: keyboard layout file

Description Silvio Frischknecht 2010-01-21 16:57:29 UTC
Version:            (using Devel)
Compiler:          gcc 4.4 
OS:                Linux
Installed from:    Compiled sources

I recently wrote my own keyboard layout which has additional arrow keys (Up,Down,Left,Right) on AltGr-{e,n,i,h} (colemak for {h,j,k,l}). 
Every thing works fine in all programs (other KDE programs, and also xterm) except in konsole where it just writes CDAB, like what you usually get when you press Ctrl-v then an arrow just without the escape sign

the corresponding lines in my keyboard layout file are:
    key <AC06> { [            h,            H,            Left ] };
    key <AC07> { [            n,            N,            Down ] };
    key <AC08> { [            e,            E,              Up ] };
    key <AC09> { [            i,            I,           Right ] };

xev sais I got (Up,Down,Left,Right)
Comment 1 Jekyll Wu 2011-09-25 20:31:22 UTC
Could you please attach the complete file of the customized keyboard layout? That would make it easier for those who are not very familiar with keyboard layout stuff(like me) to verify and invesigate this problem. 

It would also be better if you can provide clear steps to reproduce this problem, even if that seems trivial and verbose.
Comment 2 Silvio Frischknecht 2011-09-27 20:44:46 UTC
Created attachment 64023 [details]
keyboard layout file

This goes into /usr/share/X11/xkb/symbols and then >setxkbmap co colemak_silvio
and to be honest i'm not a keyboard crack either I'm just guessing but it works for all programms except Konsole
Comment 3 Ahmad Samir 2018-04-14 15:22:21 UTC
This is mostly a configuration issue, you'll need to modify the konsole key bindings, for example for the Left key, add this rule:
Left-Shift-Alt+Ansi+AnyModifier \E[[D