Xfce4

Switch NumLock on at startup in Xfce4

There are many ways to switch on NumLock in Linux. Some methods do not work. I used this one before:

1. Switch NumLock on at startup using numlockx in .xinitrc

apt install numlockx

cat .xinitrc
#!/bin/sh

if [ -e /usr/bin/numlockx ]; then
  /usr/bin/numlockx on
fi

But now i prefer simpler way, using Xfce4 settings.