Return key registering as KP_Enter

Hi Hoping someone can point me in the right direction here. I've got a laptop with Manjaro i3 and Garuda Qtile (on separate SSDs) and I've found that on Garuda xev shows my Return key as KP_Enter but on Manjaro (also Endeavour) xev correctly shows my Return key as Return. Now, I know I can reassign the key as need but I'm just wondering if there's a simple setting somewhere that I'm missing to have it correctly report Return instead of KP_Enter (my laptop doesn't have a keypad so this is the standard Return key).

Things I've tried:

  • Installed Garuda i3: same problem Return key shows as KP_Enter
  • Checked that Manjaro i3, Endeavour i3, Garuda i3, and Garuda Qtile all had the same keyboard settings ( model=generic pc105, layout=ie_English UTF-8 etc).
  • Read the Arch Wiki for pages for Linux Console/Keyboard Configuration and Xorg/Keyboard Configuration
  • Compared the output of localectl status on each OS
  • Compared the contents of /etc/vconsole.conf and /etc/X11/xorg.conf.d/00-keyboard.conf on each OS
  • Compared xev output on each OS, I found that on Garuda if I hold Fn and hit my return key it shows as Return.

inxi -Faz output:

System:
  Kernel: 5.13.10-zen1-1-zen x86_64 bits: 64 compiler: gcc 
  v: 11.1.0 
  parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen 
  root=UUID=285c75c8-2fba-4287-af8d-32529bceaceb rw 
  [email protected] quiet splash rd.udev.log_priority=3 
  vt.global_cursor_default=0 
  systemd.unified_cgroup_hierarchy=1 
  resume=UUID=06e589a2-b813-4d13-b74b-984f1ac2e521 loglevel=3 
  Desktop: Qtile 0.18.1.dev0+g8e7ecc0a.d20210719 wm: LG3D 
  vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux 
Machine:
  Type: Laptop System: TUXEDO product: InfinityBook_S_14_v5 
  v: N/A serial: <filter> Chassis: Notebook type: 10 
  serial: <filter> 
  Mobo: TUXEDO model: L140CU serial: <filter> UEFI: INSYDE 
  v: 1.07.07RTR3 date: 02/17/2020 
Battery:
  ID-1: BAT0 charge: 65.1 Wh (95.0%) 
  condition: 68.5/73.9 Wh (92.6%) volts: 8.2 min: 7.7 
  model: Notebook BAT type: Li-ion serial: <filter> 
  status: Discharging 
CPU:
  Info: Quad Core model: Intel Core i7-10510U bits: 64 
  type: MT MCP arch: Kaby Lake note: check family: 6 
  model-id: 8E (142) stepping: C (12) microcode: EA cache: 
  L2: 8 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 
  vmx 
  bogomips: 36799 
  Speed: 3329 MHz min/max: 400/4900 MHz Core speeds (MHz): 
  1: 3329 2: 3727 3: 4040 4: 3602 5: 3865 6: 3343 7: 3799 
  8: 4097 
  Vulnerabilities: Type: itlb_multihit 
  status: KVM: VMX disabled 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass mitigation: Speculative Store Bypass 
  disabled via prctl and seccomp 
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and 
  __user pointer sanitization 
  Type: spectre_v2 
  mitigation: Enhanced IBRS, IBPB: conditional, RSB filling 
  Type: srbds mitigation: TSX disabled 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel CometLake-U GT2 [UHD Graphics] 
  vendor: CLEVO/KAPOK driver: i915 v: kernel bus-ID: 00:02.0 
  chip-ID: 8086:9b41 class-ID: 0300 
  Device-2: Chicony Chicony USB2.0 Camera type: USB 
  driver: uvcvideo bus-ID: 1-7:3 chip-ID: 04f2:b684 
  class-ID: 0e02 serial: <filter> 
  Display: x11 server: X.Org 1.20.13 compositor: picom 
  v: git-60eb0 driver: loaded: intel unloaded: modesetting 
  alternate: fbdev,vesa display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 
  s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9") 
  Monitor-1: eDP1 res: 1920x1080 hz: 60 dpi: 157 
  size: 310x170mm (12.2x6.7") diag: 354mm (13.9") 
  OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) 
  v: 4.6 Mesa 21.2.1 direct render: Yes 
Audio:
  Device-1: Intel Comet Lake PCH-LP cAVS vendor: CLEVO/KAPOK 
  driver: snd_hda_intel v: kernel 
  alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3 
  chip-ID: 8086:02c8 class-ID: 0403 
  Sound Server-1: ALSA v: k5.13.10-zen1-1-zen running: yes 
  Sound Server-2: JACK v: 1.9.19 running: no 
  Sound Server-3: PulseAudio v: 15.0 running: no 
  Sound Server-4: PipeWire v: 0.3.34 running: yes 
Network:
  Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel 
  port: 5040 bus-ID: 06:00.0 chip-ID: 8086:2723 class-ID: 0280 
  IF: wlp6s0 state: up mac: <filter> 
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb 
  v: 0.8 bus-ID: 1-10:4 chip-ID: 8087:0029 class-ID: e001 
  Report: bt-adapter ID: hci0 rfk-id: 0 state: down 
  bt-service: enabled,running rfk-block: hardware: no 
  software: yes address: <filter> 
Drives:
  Local Storage: total: 698.65 GiB used: 9.99 GiB (1.4%) 
  SMART Message: Required tool smartctl not installed. Check 
  --recommends 
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung 
  model: SSD 860 EVO M.2 250GB size: 232.89 GiB block-size: 
  physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD 
  serial: <filter> rev: 4B6Q scheme: GPT 
  ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung 
  model: SSD 860 EVO M.2 500GB size: 465.76 GiB block-size: 
  physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD 
  serial: <filter> rev: 4B6Q scheme: GPT 
Partition:
  ID-1: / raw-size: 207.09 GiB size: 207.09 GiB (100.00%) 
  used: 9.99 GiB (4.8%) fs: btrfs dev: /dev/sda2 maj-min: 8:2 
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.45%) 
  used: 562 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1 
  ID-3: /home raw-size: 207.09 GiB size: 207.09 GiB (100.00%) 
  used: 9.99 GiB (4.8%) fs: btrfs dev: /dev/sda2 maj-min: 8:2 
  ID-4: /var/log raw-size: 207.09 GiB 
  size: 207.09 GiB (100.00%) used: 9.99 GiB (4.8%) fs: btrfs 
  dev: /dev/sda2 maj-min: 8:2 
  ID-5: /var/tmp raw-size: 207.09 GiB 
  size: 207.09 GiB (100.00%) used: 9.99 GiB (4.8%) fs: btrfs 
  dev: /dev/sda2 maj-min: 8:2 
Swap:
  Kernel: swappiness: 133 (default 60) 
  cache-pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 25.54 GiB 
  used: 0 KiB (0.0%) priority: -2 dev: /dev/sda3 maj-min: 8:3 
  ID-2: swap-2 type: zram size: 23.21 GiB used: 0 KiB (0.0%) 
  priority: 100 dev: /dev/zram0 
Sensors:
  System Temperatures: cpu: 47.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 280 Uptime: 6h 5m wakeups: 4089 Memory: 23.22 GiB 
  used: 2.8 GiB (12.1%) Init: systemd v: 249 tool: systemctl 
  Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: pacman: 1172 
  lib: 297 Shell: fish v: 3.3.1 running-in: alacritty 
  inxi: 3.3.06 

Many thanks for any advice.

sudo showkey -a

^M 	 13 0015 0x0d <-- KP_Enter
^M 	 13 0015 0x0d <-- Enter

on my pc105 Keyboard (I have no laptop with i3wm)

It's not nice that it is, but is there a problem because of that?

It is not standard practice after installing a new operating system to check what the return values of the Return / Enter key are. :wink:

I personally can't help you there, but

:slight_smile:
BTW, why you use "old" kernel?

2 Likes

Hey and thanks for the reply/welcome.

Nah, not really, was just wondering if there was something obvious I'd overlooked.

Lol no indeed, I wouldn't normally do so. I just noticed that after installing i3 and LeftWM Super+Return/Super+Shift+Return wasn't giving me a terminal the way it normally would (Qtile works fine though). I checked xev out of curiosity and noticed it was KP_Enter where usually I see Return.

Fresh re-install that I haven't updated yet. :blush:

Thanks again!

1 Like

~/.config/i3/config

# start a terminal #alacritty xfce4-terminal
bindsym $super+Return exec xfce4-terminal
bindsym $super+t exec xfce4-terminal
bindsym $super+Shift+Return exec alacritty

Try Super + t :slight_smile:

5 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.