In previous versions of elementray OS you could make "numeric pad keys always enter digits". See this answer and screenshot below:
This setting is also available on Ubuntu (see this answer).
However, in elementary OS 5, this setting is not available:
I don't know if I accidentally press the numlock key or it's some random bug, but I'm constantly trying to enter a number with the numeric pad and end up moving to the top of the document, enabling "insert" or deleting something. Is there any way of making sure that the numeric keyboard lives to its name and only enters numbers in elementary OS 5 (and hopefully the upcoming 6)?
Quoting this question:
Please note that I do not want to know how to turn Num Lock on at startup, I do not want to know how to tear the key off, I want to disable it so that it stays on all the time and can't be turned off by mistake. Any idea how to do that?
EDIT: Found this answer, that proposes this command:
setxkbmap -option numpad:mac
It works perfectly but it turns off seemingly randomly or after some time. To make it permanent, I need to edit 10-keyboard.conf (see here), but I don't know where to find it. For now I added that command to the startup commands and seems to work.