How to Setup Pointer-Keys/Mouse-Keys in Lubuntu – Move Cursor with Num-Pad Keys

accessibilitylubuntumousenumpad

I know there is an easy way to set up mouse emulation with the numpad in Xubuntu and Ubuntu. Is there an easy way to do so in lubuntu? is there a config file that can be edited, or does a program need to be installed?

Best Answer

- 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.