Turn on num lock permanently

For windows

Have numlock activate on startup with a VBS script

create a custom layout with MSKLC with numlock disabled

For linux

Enable numlock at boot

disable key with xmodmap


I compiled a usable solution to this. Using a .reg file I turn the numlock key on at boot, as well as disable the numlock key in the keyboard mappings.

The file looks like this:

Windows Registry Editor Version 5.00

[HKEY_USERS\.DEFAULT\Control Panel\Keyboard]
"InitialKeyboardIndicators"="2147483650"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,00,00,45,00,00,00,00,00

More about the background is on my blog.

Tags:

Keyboard