How do I setup pointer-keys/mouse-keys in Lubuntu? (move cursor with num-pad keys)

- Enable via conf file

Create a file /usr/share/X11/xorg.conf.d/90-enable-pointerkeys.conf, with contents:

Section "InputClass"
    Identifier             "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option                 "XkbOptions" "keypad:pointerkeys"
EndSection

- Enable for duration of session

setxkbmap -option keypad:pointerkeys


  • In either case, Shift+Num-Lock will toggle mouse keys on/off.