This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Just the key 3 stopped working! (big mystery)

Tags: keyboard, shortcuts keyboard, shortcuts keyboard, shortcuts
(comma "," separated)
lobaluna
Registered Member
Posts
4
Karma
0
Hi, everyone!

My keyboard is a 105-key generic PC. I'm running Arch. I made some shortcut changes to have more standarization according to my very old keyboard workflow (pseudo tiling, moving windows with keyboard shortcuts, and so on). My keyboard is configured as default Spanish, no variations.

Everything was perfect until two days ago, where key number 3, above letters (not the numpad), stopped working. The funny thing is that the Shift+3 combination works (displays a middle dot ·), and AltGr+3 works (displays a pound #), both in GUI and terminal apps.

If I run xmodmap -pk, I get
Code: Select all
12         0x0033 (3)      0x00b7 (periodcentered) 0x0033 (3)      0x00b7 (periodcentered) 0x0023 (numbersign)     0x00a3 (sterling)    0x0023 (numbersign)


If I run xev, I get
$ xev
Code: Select all
Outer window is 0x5a00001, inner window is 0x5a00002

PropertyNotify event, serial 8, synthetic NO, window 0x5a00001,
atom 0x27 (WM_NAME), time 3127745, state PropertyNewValue

PropertyNotify event, serial 9, synthetic NO, window 0x5a00001,
atom 0x22 (WM_COMMAND), time 3127745, state PropertyNewValue

PropertyNotify event, serial 10, synthetic NO, window 0x5a00001,
atom 0x28 (WM_NORMAL_HINTS), time 3127745, state PropertyNewValue

CreateNotify event, serial 11, synthetic NO, window 0x5a00001,
parent 0x5a00001, window 0x5a00002, (10,10), width 50, height 50
border_width 4, override NO

PropertyNotify event, serial 14, synthetic NO, window 0x5a00001,
atom 0x12d (WM_PROTOCOLS), time 3127745, state PropertyNewValue

MapNotify event, serial 15, synthetic NO, window 0x5a00001,
event 0x5a00001, window 0x5a00002, override NO

PropertyNotify event, serial 21, synthetic NO, window 0x5a00001,
atom 0x1ec (_KDE_NET_WM_USER_CREATION_TIME), time 3127747, state PropertyNewValue

ConfigureNotify event, serial 29, synthetic NO, window 0x5a00001,
event 0x5a00001, window 0x5a00001, (0,0), width 178, height 178,
border_width 0, above 0x56000b4, override NO

ReparentNotify event, serial 29, synthetic NO, window 0x5a00001,
event 0x5a00001, window 0x5a00001, parent 0x100012a,
(0,0), override NO

PropertyNotify event, serial 29, synthetic NO, window 0x5a00001,
atom 0x1e1 (_KDE_NET_WM_ACTIVITIES), time 3127748, state PropertyNewValue

PropertyNotify event, serial 30, synthetic NO, window 0x5a00001,
atom 0x159 (_NET_WM_STATE), time 3127748, state PropertyNewValue

MapNotify event, serial 30, synthetic NO, window 0x5a00001,
event 0x5a00001, window 0x5a00001, override NO

VisibilityNotify event, serial 30, synthetic NO, window 0x5a00001,
state VisibilityPartiallyObscured

Expose event, serial 30, synthetic NO, window 0x5a00001,
(0,0), width 1, height 1, count 0

PropertyNotify event, serial 30, synthetic NO, window 0x5a00001,
atom 0x136 (WM_STATE), time 3127748, state PropertyNewValue

PropertyNotify event, serial 32, synthetic NO, window 0x5a00001,
atom 0x1bb (_NET_WM_DESKTOP), time 3127749, state PropertyNewValue

PropertyNotify event, serial 32, synthetic NO, window 0x5a00001,
atom 0x159 (_NET_WM_STATE), time 3127749, state PropertyNewValue

PropertyNotify event, serial 32, synthetic NO, window 0x5a00001,
atom 0x1bb (_NET_WM_DESKTOP), time 3127749, state PropertyNewValue

PropertyNotify event, serial 32, synthetic NO, window 0x5a00001,
atom 0x177 (_NET_FRAME_EXTENTS), time 3127749, state PropertyNewValue

PropertyNotify event, serial 32, synthetic NO, window 0x5a00001,
atom 0x176 (_KDE_NET_WM_FRAME_STRUT), time 3127749, state PropertyNewValue

PropertyNotify event, serial 32, synthetic NO, window 0x5a00001,
atom 0x1c1 (_NET_WM_ALLOWED_ACTIONS), time 3127749, state PropertyNewValue

VisibilityNotify event, serial 33, synthetic NO, window 0x5a00001,
state VisibilityFullyObscured

PropertyNotify event, serial 33, synthetic NO, window 0x5a00001,
atom 0x159 (_NET_WM_STATE), time 3127749, state PropertyNewValue

FocusIn event, serial 33, synthetic NO, window 0x5a00001,
mode NotifyNormal, detail NotifyNonlinear

KeymapNotify event, serial 33, synthetic NO, window 0x0,
keys:  34  0   0   0   16  0   0   0   0   0   0   0   0   0   0   0
0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

ConfigureNotify event, serial 33, synthetic YES, window 0x5a00001,
event 0x5a00001, window 0x5a00001, (871,484), width 178, height 178,
border_width 0, above 0x0, override NO

PropertyNotify event, serial 33, synthetic NO, window 0x5a00001,
atom 0x159 (_NET_WM_STATE), time 3127750, state PropertyNewValue

VisibilityNotify event, serial 36, synthetic NO, window 0x5a00001,
state VisibilityUnobscured

Expose event, serial 36, synthetic NO, window 0x5a00001,
(0,0), width 178, height 10, count 3

Expose event, serial 36, synthetic NO, window 0x5a00001,
(0,10), width 10, height 58, count 2

Expose event, serial 36, synthetic NO, window 0x5a00001,
(68,10), width 110, height 58, count 1

Expose event, serial 36, synthetic NO, window 0x5a00001,
(0,68), width 178, height 110, count 0

ColormapNotify event, serial 36, synthetic NO, window 0x5a00001,
colormap 0x20, new NO, state ColormapInstalled

PropertyNotify event, serial 36, synthetic NO, window 0x5a00001,
atom 0x159 (_NET_WM_STATE), time 3127760, state PropertyNewValue

KeyRelease event, serial 36, synthetic NO, window 0x5a00001,
root 0x5ac, subw 0x0, time 3127830, (423,448), root:(1294,932),
state 0x10, keycode 36 (keysym 0xff0d, Return), same_screen YES,
"   XLookupString gives 1 bytes: (0d) "
XFilterEvent returns: False

PropertyNotify event, serial 39, synthetic NO, window 0x5a00001,
atom 0x1be (_NET_WM_ICON_GEOMETRY), time 3127959, state PropertyNewValue

FocusOut event, serial 40, synthetic NO, window 0x5a00001,
mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 40, synthetic NO, window 0x5a00001,
mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 40, synthetic NO, window 0x0,
keys:  68  16  0   0   0   0   0   0   0   0   0   0   0   0   0   0
0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

KeyRelease event, serial 40, synthetic NO, window 0x5a00001,
root 0x5ac, subw 0x0, time 3129534, (423,448), root:(1294,932),
state 0x10, keycode 12 (keysym 0x33, 3), same_screen YES,
XLookupString gives 1 bytes: (33) "3"
XFilterEvent returns: False

EnterNotify event, serial 40, synthetic NO, window 0x5a00001,
root 0x5ac, subw 0x0, time 3132263, (175,169), root:(1046,653),
mode NotifyNormal, detail NotifyNonlinear, same_screen YES,
focus YES, state 16

KeymapNotify event, serial 40, synthetic NO, window 0x0,
keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

MotionNotify event, serial 40, synthetic NO, window 0x5a00001,
root 0x5ac, subw 0x0, time 3132263, (175,169), root:(1046,653),
state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 40, synthetic NO, window 0x5a00001,
root 0x5ac, subw 0x0, time 3132271, (173,148), root:(1044,632),
state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 40, synthetic NO, window 0x5a00001,
root 0x5ac, subw 0x0, time 3132279, (170,126), root:(1041,610),
state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 40, synthetic NO, window 0x5a00001,
root 0x5ac, subw 0x0, time 3132287, (166,106), root:(1037,590),
state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 40, synthetic NO, window 0x5a00001,
root 0x5ac, subw 0x0, time 3132295, (163,84), root:(1034,568),
state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 40, synthetic NO, window 0x5a00001,
root 0x5ac, subw 0x0, time 3132303, (158,63), root:(1029,547),
state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 40, synthetic NO, window 0x5a00001,
root 0x5ac, subw 0x0, time 3132311, (155,45), root:(1026,529),
state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 40, synthetic NO, window 0x5a00001,
root 0x5ac, subw 0x0, time 3132319, (151,29), root:(1022,513),
state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 40, synthetic NO, window 0x5a00001,
root 0x5ac, subw 0x0, time 3132327, (150,17), root:(1021,501),
state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 40, synthetic NO, window 0x5a00001,
root 0x5ac, subw 0x0, time 3132335, (150,10), root:(1021,494),
state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 40, synthetic NO, window 0x5a00001,
root 0x5ac, subw 0x0, time 3132343, (150,4), root:(1021,488),
state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 40, synthetic NO, window 0x5a00001,
root 0x5ac, subw 0x0, time 3132351, (150,0), root:(1021,484),
state 0x10, is_hint 0, same_screen YES

LeaveNotify event, serial 40, synthetic NO, window 0x5a00001,
root 0x5ac, subw 0x0, time 3132359, (150,-4), root:(1021,480),
mode NotifyNormal, detail NotifyAncestor, same_screen YES,
focus YES, state 16

ClientMessage event, serial 40, synthetic YES, window 0x5a00001,
message_type 0x12d (WM_PROTOCOLS), format 32, message 0x12e (WM_DELETE_WINDOW)


If I run xbindkeys --key in Konsole, I get
Code: Select all
Press combination of keys or/and click under the window.
You can use one of the two lines after "NoCommand"
in $HOME/.xbindkeysrc to bind a key.
"(Scheme function)"
m:0x10 + c:12
Mod2 + 3


I see nothing wrong or I do not know what to look for.

If I run xev | awk -F'[ )]+' '/^KeyPress/ { a[NR+2] } NR in a { printf "%-3s %s\n", $5, $8 }' (according to Arch wiki), I get nothing!

I can use the numpad perfectly, but it is so unnatural to move the hand just to type the 3 :((

I double checked all my keyboard shortcuts, just in case, to see if some command/app was interfering with the keyboard event, but really I do not see anything wrong. Thanks to @dzon (viewtopic.php?f=66&t=177062), I made a list to all my keyboard shortcuts, just in case someone can help me:
https://pad.riseup.net/p/shortcuts_KDE_para_Lobaluna.

I ran out of ideas to see solve this mystery.

---------------------------
Info on my system:

Operating System: Arch Linux
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 5.15.89-1-lts (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: NV167
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B450M H
lobaluna
Registered Member
Posts
4
Karma
0
Well, I couldn't figure out what is wrong, so I exported all my shortcuts, and then import them.

Problem solved for key 3!

Hope this helps someone else! It's not a proper answer, but it worked.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]