Bug 223695 - (Up,Down,Left,Right) don't work in konsole when put on an AltGr combination
Summary: (Up,Down,Left,Right) don't work in konsole when put on an AltGr combination
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: keyboard (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-21 16:57 UTC by Silvio Frischknecht
Modified: 2018-04-14 15:22 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
keyboard layout file (6.08 KB, application/octet-stream)
2011-09-27 20:44 UTC, Silvio Frischknecht
Details

Note You need to log in before you can comment on or make changes to this bug.
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