numeric keypad function always active after booting

When you run into problems installing MX Linux XFCE
Message
Author
cinclus
Posts: 108
Joined: Sun Mar 13, 2016 5:35 am

numeric keypad function always active after booting

#1 Post by cinclus »

This is an old netbook.
After booting the numeric keypad function is always active and therefore toggling back to normal function is necessary after booting.
This is very disturbing.
I don't know how to script the keyboard setting for normal function on booting.
Questions:
1. how to get the keycodes of the keys (picture) used for toggling?
2. how to script the resetting to normal keyboard function on startup?

Any answers highly appreciated.

Code: Select all

Snapshot created on: 20240611_1010
System:    Kernel: 6.1.15-2-liquorix-amd64 [6.1-32~mx21+1] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: audit=0 intel_pstate=disable hpet=disable rcupdate.rcu_expedited=1 
           BOOT_IMAGE=/antiX/vmlinuz quiet threadirqs splash lang=de_DE kbd=de 
           kbopt=grp:lalt_lshift_toggle,terminate:ctrl_alt_bksp,grp_led:scroll tz=Europe/Berlin 
           Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7 
           dm: LightDM 1.26.0 Distro: Debian GNU/Linux 11 (bullseye) 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Laptop System: ASUSTeK product: T100TA v: 1.0 serial: <filter> 
           Mobo: ASUSTeK model: T100TA v: 1.0 serial: <filter> UEFI: American Megatrends 
           v: T100TA.314 date: 08/13/2015 
Battery:   ID-1: BATC charge: 52.6 Wh (55.1%) condition: 95.4/30.6 Wh (311.4%) volts: 3.6 min: 3.8 
           model: Intel SR 1 SR Real Battery type: Li-ion serial: <filter> status: Discharging 
           cycles: 186 
CPU:       Info: Quad Core model: Intel Atom Z3775 bits: 64 type: MCP arch: Silvermont family: 6 
           model-id: 37 (55) stepping: 8 microcode: 80A cache: L2: 1024 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 11733 
           Speed: 1464 MHz min/max: 532/1464 MHz boost: enabled Core speeds (MHz): 1: 1464 2: 1464 
           3: 2400 4: 2400 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled 
           Type: meltdown mitigation: PTI 
           Type: mmio_stale_data status: Unknown: No mitigations 
           Type: retbleed status: Not affected 
           Type: spec_store_bypass status: Not affected 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 
           mitigation: Retpolines, STIBP: disabled, RSB filling, PBRSB-eIBRS: Not affected 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display vendor: ASUSTeK 
           driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:0f31 class-ID: 0300 
           Display: x11 server: X.Org 1.20.14 compositor: compton v: 1 driver: loaded: modesetting 
           unloaded: fbdev,vesa display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1368x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0") 
           s-diag: 414mm (16.3") 
           Monitor-1: DSI-1 res: 1368x768 hz: 60 
           OpenGL: renderer: Mesa Intel HD Graphics (BYT) v: 4.2 Mesa 22.0.5 compat-v: 3.1 
           direct render: Yes 
Audio:     Device-1: sof-bytcht rt5640 driver: SOF message: bus/chip ids unavailable 
           Device-2: Intel HDMI/DP LPE Audio driver: HdmiLpeAudio 
           message: bus/chip ids unavailable 
           Sound Server-1: ALSA v: k6.1.15-2-liquorix-amd64 running: yes 
           Sound Server-2: JACK v: 1.9.21 running: no 
           Sound Server-3: PulseAudio v: 14.2 running: yes 
Network:   Message: No device data found. 
           IF-ID-1: wlan0 state: down mac: <filter> 
Drives:    Local Storage: total: 87.41 GiB used: 4.98 GiB (5.7%) 
           ID-1: /dev/mmcblk1 maj-min: 179:24 vendor: SanDisk model: SL16G size: 14.84 GiB 
           block-size: physical: 512 B logical: 512 B type: SSD serial: <filter> scheme: MBR 
           SMART Message: Unknown smartctl error. Unable to generate data. 
           ID-2: /dev/mmcblk2 maj-min: 179:0 vendor: SK Hynix model: HCG8e size: 58.25 GiB 
           block-size: physical: 512 B logical: 512 B type: SSD serial: <filter> rev: 0x6 
           scheme: GPT 
           SMART Message: Unknown smartctl error. Unable to generate data. 
           ID-3: /dev/sda maj-min: 8:0 type: USB vendor: SanDisk model: Ultra Fit size: 14.32 GiB 
           block-size: physical: 512 B logical: 512 B type: N/A serial: <filter> rev: 1.00 
           scheme: MBR 
           SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
Swap:      Alert: No swap data was found. 
Sensors:   System Temperatures: cpu: 6280.4 C mobo: N/A 
           Fan Speeds (RPM): cpu: 0 
Repos:     Packages: note: see --pkg apt: 2604 lib: 1437 flatpak: 0 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian/ bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security/ bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://ftp.halifax.rwth-aachen.de/mxlinux/packages/mx/repo/ bullseye main non-free
           2: deb http://ftp.halifax.rwth-aachen.de/mxlinux/packages/mx/repo/ bullseye ahs
           Active apt repos in: /etc/apt/sources.list.d/winehq-bullseye.sources 
           1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/debian bullseye main
Info:      Processes: 229 Uptime: 1m wakeups: 1 Memory: 1.82 GiB used: 745.3 MiB (40.0%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1 
           alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 
Boot Mode: UEFI
You do not have the required permissions to view the files attached to this post.

Charlie Brown

Re: numeric keypad function always active after booting

#2 Post by Charlie Brown »

Maybe there's a setting in Bios to enable/disable it from start ... ?
cinclus wrote: Tue Jun 11, 2024 2:02 pm... how to get the keycodes of the keys (picture) used for toggling?..
issue

Code: Select all

xev
in a terminal and press those keys together.

User avatar
fehlix
Developer
Posts: 12581
Joined: Wed Apr 11, 2018 5:09 pm

Re: numeric keypad function always active after booting

#3 Post by fehlix »

cinclus wrote: Tue Jun 11, 2024 2:02 pm This is an old netbook.
After booting the numeric keypad function is always active and therefore toggling back to normal function is necessary after booting.
This is very disturbing.
I don't know how to script the keyboard setting for normal function on booting.
* Install package "numlockx"

Code: Select all

sudo apt install numlockx

* Add a new autostart entry within Session & Startup

Code: Select all

Name: Numlock Off
Comment: Numlock Off
Command: numlockx off
HTH

cinclus
Posts: 108
Joined: Sun Mar 13, 2016 5:35 am

Re: numeric keypad function always active after booting

#4 Post by cinclus »

@fehlix
Perfect! Thanx.

Charlie Brown

Re: numeric keypad function always active after booting

#5 Post by Charlie Brown »

I just wonder whether you tried the option in "Behavior" tab in "Keyboard" before that .

Post Reply

Return to “Installation”