Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 6 down vote accepted

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

- Enable for duration of session

setxkbmap -option keypad:pointerkeys

  • In either case, Shift+Num-Lock will toggle mouse keys on/off.
share|improve this answer
thanks, extremely useful – merveotesi Jul 11 '13 at 20:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.