[konsole] [Bug 460694] Pressing Alt-Return (and other key combinations with Alt) enter unexpected characters, too

Bodo Eggert bugzilla_noreply at kde.org
Fri Dec 9 09:42:46 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=460694

--- Comment #2 from Bodo Eggert <7eggert at gmx.de> ---
TLDR at the bottom, here is some life debugging:

I changed the keys using the KDE menu, German layout, then I did change CAPS to
an additional Super.

keycode  21 = apostrophe grave equal plus cedilla cedilla endash
keycode  51 = numbersign acute backslash bar rightsinglequotemark grave U05BB
keycode  78 = dead_greek
keycode  66 = Meta_L

The output of xmodmap is

shift       Shift_L (0x32),  Shift_R (0x3e)
lock      
control     Control_L (0x25),  Control_R (0x69)
mod1        Alt_L (0x40),  Alt_L (0xcc),  Meta_L (0xcd)
mod2        Num_Lock (0x4d)
mod3        ISO_Level5_Shift (0xcb)
mod4        Meta_L (0x42),  Super_R (0x86),  Super_L (0xce),  Hyper_L (0xcf)
mod5        ISO_Level3_Shift (0x5c)


This should not affect the ALT key but obviously it did. So I NOW added to my
.xmodmap:

remove mod1 = Meta_L

which did fix the issue for me but this is not a fix in general. Also I need to
run the command every few secons because KDE is fighting to not let me change
the keys accordingly.

I just now tested an unconfigured account on OpenSuse Tumbleweed (recently
updated) and there is also the same issue with mod1 being both, but it's not
confusing konsole.

On the accounts not having the issue, mod4 is only Super_L Hyper_L, NOT Meta_L.
There I set the compse key to the Menu key which doesn't exist on my laptop,
thete it's AltGr-Ctrl. 

So my educated guess is that both modifiers get merged into one because of
that: mod41 = Super_L, Hyper_L, Meta_L ; and any key contained will activate
everything.

TLDR:

I map Caps to be Meta_L despite selecting it to be Super (I didn't do that on
the other accounts, my script differs)

Alt is mapped to both Alt and Meta (not my doing)

Due to the Win key being Meta Hyper Super, and the Alt key being Alt Meta, Alt
also becomes Win.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list