I recently bought a used Acer Aspire ES1-511 with Ubuntu 16.04. I've found that the left Ctrl key does not work, but the right one does. in the
xev I found that the left button showed FocusOut and FocusIn events as they were pressed, and had the right (right) KeyPress and KeyRelease events. I looked at the settings for the link and could not find anything. I looked at the keyboard configuration and could not find anything. I upgraded to Ubuntu 18.04.2 LTS, it did not make any difference. I was looking for the Show Keyboard Layout utility, it's nowhere to be found. In fact, there is no menu option in the title bar for changing the keyboard language, as stated at https://linoxide.com/linux-how -to / configure-keyboard-ubuntu / I've tried to reset all keyboard shortcuts, it makes no difference. If I transfer to another virtual terminal, by z. Ctrl-Alt-F3, The Key combination is detected and Ctrl-C works as expected at the command prompt.
Pretty clear something in the GUI, the behavior of the left Ctrl key changes, but I could not identify What makes it.
For the left Ctrl key
xev shows this issue:
FocusOut event, serial 34, synthetic NO, window 0x3000001, mode NotifyGrab, detail NotifyAncestor FocusIn event, serial 34, synthetic NO, window 0x3000001, mode NotifyUngrab, detail NotifyAncestor KeymapNotify event, serial 34, 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
For the right Ctrl key
xev shows this issue:
KeyPress event, serial 34, synthetic NO, window 0x3000001, root 0x13e, subw 0x0, time 3247932, (96,-19), root:(1249,175), state 0x0, keycode 105 (keysym 0xffe4, Control_R), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 37, synthetic NO, window 0x3000001, root 0x13e, subw 0x0, time 3248126, (96,-19), root:(1249,175), state 0x4, keycode 105 (keysym 0xffe4, Control_R), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False
$ kbdcontrol kbdcontrol: command not found $ console-setup console-setup: command not found $ cat /etc/default/keyboard # KEYBOARD CONFIGURATION FILE # Consult the keyboard(5) manual page. XKBMODEL="acer_laptop" XKBLAYOUT="us" XKBVARIANT="" XKBOPTIONS="" BACKSPACE="guess" $ xmodmap -pm xmodmap: up to 4 keys per modifier, (keycodes in parentheses): shift Shift_L (0x32), Shift_R (0x3e) lock Caps_Lock (0x42) control Control_L (0x25), Control_R (0x69) mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd) mod2 Num_Lock (0x4d) mod3 mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf) mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb) $ uname -a Linux acer-Aspire-ES1-511 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
What additional information should I provide?