Hello everyone,
I have just installed a fresh Manjaro linux on my HP laptop, after a little distro-hopping break. This laptop has already run Manjaro fine for months in the past. Everything is rolling - as expected - but there is one fairly annoying bug with my keyboard:
I am using a French layout and I need the accented acute "e" letter, but it doesn't "do" anything whenever I press the key (nothing is typed in the document). The same capital key works (I can type a "2" using shift). All the other keys/letters work fine.
I have switched keyboard layouts, tried other languages... I have plugged in a USB keyboard... In any case, the said key just doesn't work whatever the configuration.
I have googled for a while and I couldn't find a similar case - at least one that was solved.
Here is the ouput of xev
when I type "é" (I actually had to copy this from a website):
FocusOut event, serial 40, synthetic NO, window 0x7e00001,
mode NotifyGrab, detail NotifyAncestor
FocusOut event, serial 40, synthetic NO, window 0x7e00001,
mode NotifyUngrab, detail NotifyPointer
FocusIn event, serial 40, synthetic NO, window 0x7e00001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 40, synthetic NO, window 0x0,
keys: 0 8 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 0x7e00001,
root 0x1e0, subw 0x0, time 9787102, (134,57), root:(2058,110),
state 0x10, keycode 11 (keysym 0xe9, eacute), same_screen YES,
XLookupString gives 2 bytes: (c3 a9) "é"
XFilterEvent returns: False
For comparison, I get this when I type "&", located right next to it:
KeyPress event, serial 40, synthetic NO, window 0x7e00001,
root 0x1e0, subw 0x0, time 9784238, (134,57), root:(2058,110),
state 0x10, keycode 10 (keysym 0x26, ampersand), same_screen YES,
XLookupString gives 1 bytes: (26) "&"
XmbLookupString gives 1 bytes: (26) "&"
XFilterEvent returns: False
KeyRelease event, serial 40, synthetic NO, window 0x7e00001,
root 0x1e0, subw 0x0, time 9784334, (134,57), root:(2058,110),
state 0x10, keycode 10 (keysym 0x26, ampersand), same_screen YES,
XLookupString gives 1 bytes: (26) "&"
XFilterEvent returns: False
What I understand is that there is just no KeyPress
event triggered. Instead, I get this weird KeymapNotify
event. But I don't understand much more than that.
I am runnng Manjaro stable with Plasma 5.18.4 / Xorg 1.20.8 / Kernel 5.6.8-1 (and I also tried 5.6.4_rt3 ... and I have no idea what to do next.
Edit:
I had the same problem in the console. I tried sudo localectl set-keymap --no-convert fr-pc
and now I can type accented "é" in the console. However, this still doesn't work in Plasma.
I followed instructions from here, and did sudo xinit /usr/bin/xterm -- :1
from the console. I could type the "é" in the X window that launched. But going back to Plasma... no change.
The Arch wiki hints that:
If you press a key and nothing appears in the terminal, it means that either the key does not have a scancode , the scancode is not mapped to a keycode , or some other process is capturing the keypress.
I'm still stuck.