NUM LOCK ALWAYS ENABLED

Solved998 viewsOperating system
0

Hello,

How can I have the Num Lock enabled at startup?

Thanks

Question is closed for new answers.
Edited question
1

Put the code:

[ -x /usr/bin/numlockx ] && numlockx on

in /rds/home/rds-user/.xinitrc after the unclutter line.

Changed status to publish

Thanks it’s working.

What I do :
apt update
apt -y install numlockx
#in /rds/home/rds-user/.xinitrc after the unclutter line.
mc -e /rds/home/rds-user/.xinitrc
# for num lock On and can not go off
[ -x /usr/bin/numlockx ] && numlockx on && xmodmap -e “keycode 77 = “””

Thanks for the feedback.