My keyboard is configured such that Num Lock replaces certain alphabetical keys with numbers when Num Lock is on. There is also no Num Lock indicator light, which makes Num Lock cause confusion when entering passwords.
I have tried
xmodmap -e 'keycode [Num Lock keycode] = NoSymbol Num_Lock', which works fine while in X11. However, it has no effect in tty.
Is there a way to prevent Num Lock from turning on that is system-wide?