Ubuntu - Numeric Keypad disabled at start-up

December 2016


Upon booting Ubuntu, I've noticed that the numeric Keypad has been disable!
Is there any solution to enable it?


  • To activate the keypad, you must edit the "Default" file.
    • Open a terminal and type:
    • gksudo gedit /etc/gdm/Init/Default
  • Confirm with Enter and type your password.
    • At the beginning of the file add:

if [ -x /usr/bin/numlockx ] ; then
/usr/bin/numlockx on
  • Now the keypad should be active at Ubuntu start up.

Related :

This document entitled « Ubuntu - Numeric Keypad disabled at start-up » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.