GDM 正在关闭数字锁定键。
我尝试过以下操作:
a) installing numlockx and inserting following lines at /etc/gdm/Init/Default
if [ -x /usr/bin/numlockx ]; then
/usr/bin/numlockx on
fi
b) Using setleds +num, but it corrupts the numlock state.
Run Code Online (Sandbox Code Playgroud)
当我重新启动系统或 gdm.service 时
Numlock becomes on at boot
Numlock turns off at login screen[GDM]
Numlock again turns on after login. [ KDE / GNOME ]
Run Code Online (Sandbox Code Playgroud)
如何确保 numlock 在登录时始终打开(gdm)。