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

5,574

- 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.
Share:
5,574

Related videos on Youtube

Jakob Weisblat
Author by

Jakob Weisblat

Security Engineer @ Zoom. Puzzle Writer @ Galactic Puzzle Hunt. Theater artist, crossword constructor, vegetarian chef, enthusiast of board and role-playing games, tinkerer. pronouns: they/them

Updated on September 18, 2022

Comments

  • Jakob Weisblat
    Jakob Weisblat over 1 year

    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?

  • fuenfundachtzig
    fuenfundachtzig over 6 years
    Works in Raspbian.
  • Quasímodo
    Quasímodo over 3 years